bpo-33297: Mention Pillow to work with more image formats. (#6505)
Also update PIL doc references to Pillow.
This commit is contained in:
parent
441d945eb3
commit
b81ca28b37
|
@ -193,8 +193,8 @@ modules using the Distutils:
|
||||||
module distribution
|
module distribution
|
||||||
a collection of Python modules distributed together as a single downloadable
|
a collection of Python modules distributed together as a single downloadable
|
||||||
resource and meant to be installed *en masse*. Examples of some well-known
|
resource and meant to be installed *en masse*. Examples of some well-known
|
||||||
module distributions are NumPy, SciPy, PIL (the Python Imaging
|
module distributions are NumPy, SciPy, Pillow,
|
||||||
Library), or mxBase. (This would be called a *package*, except that term is
|
or mxBase. (This would be called a *package*, except that term is
|
||||||
already taken in the Python context: a single module distribution may contain
|
already taken in the Python context: a single module distribution may contain
|
||||||
zero, one, or many Python packages.)
|
zero, one, or many Python packages.)
|
||||||
|
|
||||||
|
|
|
@ -800,6 +800,10 @@ reference to the image. When the last Python reference to the image object is
|
||||||
deleted, the image data is deleted as well, and Tk will display an empty box
|
deleted, the image data is deleted as well, and Tk will display an empty box
|
||||||
wherever the image was used.
|
wherever the image was used.
|
||||||
|
|
||||||
|
.. seealso::
|
||||||
|
|
||||||
|
The `Pillow <http://python-pillow.org/>`_ package adds support for
|
||||||
|
formats such as BMP, JPEG, TIFF, and WebP, among others.
|
||||||
|
|
||||||
.. _tkinter-file-handlers:
|
.. _tkinter-file-handlers:
|
||||||
|
|
||||||
|
|
|
@ -382,7 +382,7 @@ module names". For example, the module name :mod:`A.B` designates a submodule
|
||||||
named ``B`` in a package named ``A``. Just like the use of modules saves the
|
named ``B`` in a package named ``A``. Just like the use of modules saves the
|
||||||
authors of different modules from having to worry about each other's global
|
authors of different modules from having to worry about each other's global
|
||||||
variable names, the use of dotted module names saves the authors of multi-module
|
variable names, the use of dotted module names saves the authors of multi-module
|
||||||
packages like NumPy or the Python Imaging Library from having to worry about
|
packages like NumPy or Pillow from having to worry about
|
||||||
each other's module names.
|
each other's module names.
|
||||||
|
|
||||||
Suppose you want to design a collection of modules (a "package") for the uniform
|
Suppose you want to design a collection of modules (a "package") for the uniform
|
||||||
|
|
Loading…
Reference in New Issue