replace PIL with Pillow.

This commit is contained in:
Takayuki Shimizukawa
2014-12-03 23:13:21 +09:00
parent 292abeeedb
commit c00dd30fb7
2 changed files with 5 additions and 5 deletions

View File

@@ -1045,9 +1045,9 @@ the `Dublin Core metadata <http://dublincore.org/>`_.
This flag determines if sphinx should try to fix image formats that are not This flag determines if sphinx should try to fix image formats that are not
supported by some epub readers. At the moment palette images with a small supported by some epub readers. At the moment palette images with a small
color table are upgraded. You need the Python Image Library (PIL) installed color table are upgraded. You need the Python Image Library (Pillow the
to use this option. The default value is ``False`` because the automatic successor of the PIL) installed to use this option. The default value is
conversion may lose information. ``False`` because the automatic conversion may lose information.
.. versionadded:: 1.2 .. versionadded:: 1.2
@@ -1056,7 +1056,7 @@ the `Dublin Core metadata <http://dublincore.org/>`_.
This option specifies the maximum width of images. If it is set to a value This option specifies the maximum width of images. If it is set to a value
greater than zero, images with a width larger than the given value are greater than zero, images with a width larger than the given value are
scaled accordingly. If it is zero, no scaling is performed. The default scaled accordingly. If it is zero, no scaling is performed. The default
value is ``0``. You need the Python Image Library (PIL) installed to use value is ``0``. You need the Python Image Library (Pillow) installed to use
this option. this option.
.. versionadded:: 1.2 .. versionadded:: 1.2

View File

@@ -407,7 +407,7 @@ epub_exclude_files = ['search.html']
# Choose between 'default' and 'includehidden'. # Choose between 'default' and 'includehidden'.
#epub_tocscope = 'default' #epub_tocscope = 'default'
# Fix unsupported image types using the PIL. # Fix unsupported image types using the Pillow.
#epub_fix_images = False #epub_fix_images = False
# Scale large images. # Scale large images.