Replace PIL with Pillow

This commit is contained in:
Kai 2015-11-15 04:25:42 +01:00
parent e3f7da5467
commit 61e992fd47
3 changed files with 10 additions and 10 deletions

View file

@ -66,9 +66,9 @@ file. The available options are:
Default: ``no``. Default: ``no``.
Note: ``compare_threshold`` option requires `ImageMagick`_, and ``maxwidth`` Note: ``compare_threshold`` option requires `ImageMagick`_, and ``maxwidth``
requires either `ImageMagick`_ or `PIL`_. requires either `ImageMagick`_ or `Pillow`_.
.. _PIL: http://www.pythonware.com/products/pil/ .. _Pillow: https://github.com/python-pillow/Pillow
.. _ImageMagick: http://www.imagemagick.org/ .. _ImageMagick: http://www.imagemagick.org/
.. _PHASH: http://www.fmwconcepts.com/misc_tests/perceptual_hash_test_results_510/ .. _PHASH: http://www.fmwconcepts.com/misc_tests/perceptual_hash_test_results_510/

View file

@ -54,9 +54,9 @@ file. The available options are:
the cost of some speed. the cost of some speed.
Note: ``minwidth`` and ``enforce_ratio`` options require either `ImageMagick`_ Note: ``minwidth`` and ``enforce_ratio`` options require either `ImageMagick`_
or `PIL`_. or `Pillow`_.
.. _PIL: http://www.pythonware.com/products/pil/ .. _Pillow: https://github.com/python-pillow/Pillow
.. _ImageMagick: http://www.imagemagick.org/ .. _ImageMagick: http://www.imagemagick.org/
Here's an example that makes plugin select only images that contain *front* or Here's an example that makes plugin select only images that contain *front* or
@ -87,8 +87,8 @@ be processed; otherwise, the command processes every album in your library.
Image Resizing Image Resizing
-------------- --------------
Beets can resize images using `PIL`_, `ImageMagick`_, or a server-side resizing Beets can resize images using `Pillow`_, `ImageMagick`_, or a server-side resizing
proxy. If either PIL or ImageMagick is installed, beets will use those; proxy. If either Pillow or ImageMagick is installed, beets will use those;
otherwise, it falls back to the resizing proxy. If the resizing proxy is used, otherwise, it falls back to the resizing proxy. If the resizing proxy is used,
no resizing is performed for album art found on the filesystem---only downloaded no resizing is performed for album art found on the filesystem---only downloaded
art is resized. Server-side resizing can also be slower than local resizing, so art is resized. Server-side resizing can also be slower than local resizing, so
@ -97,9 +97,9 @@ consider installing one of the two backends for better performance.
When using ImageMagic, beets looks for the ``convert`` executable in your path. When using ImageMagic, beets looks for the ``convert`` executable in your path.
On some versions of Windows, the program can be shadowed by a system-provided On some versions of Windows, the program can be shadowed by a system-provided
``convert.exe``. On these systems, you may need to modify your ``%PATH%`` ``convert.exe``. On these systems, you may need to modify your ``%PATH%``
environment variable so that ImageMagick comes first or use PIL instead. environment variable so that ImageMagick comes first or use Pillow instead.
.. _PIL: http://www.pythonware.com/products/pil/ .. _Pillow: https://github.com/python-pillow/Pillow
.. _ImageMagick: http://www.imagemagick.org/ .. _ImageMagick: http://www.imagemagick.org/
Album Art Sources Album Art Sources

View file

@ -10,9 +10,9 @@ as the :doc:`/plugins/fetchart`. You'll need 2 additional python packages:
`pyxdg` and `pathlib`. `pyxdg` and `pathlib`.
``thumbnails`` needs to resize the covers, and therefore requires either ``thumbnails`` needs to resize the covers, and therefore requires either
`ImageMagick`_ or `PIL`_. `ImageMagick`_ or `Pillow`_.
.. _PIL: http://www.pythonware.com/products/pil/ .. _Pillow: https://github.com/python-pillow/Pillow
.. _ImageMagick: http://www.imagemagick.org/ .. _ImageMagick: http://www.imagemagick.org/
Configuration Configuration