mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
39 lines
732 B
ReStructuredText
39 lines
732 B
ReStructuredText
5.2.0
|
|
-----
|
|
|
|
API Changes
|
|
===========
|
|
|
|
Deprecations
|
|
^^^^^^^^^^^^
|
|
|
|
These version constants have been deprecated and will be removed in the next
|
|
major release:
|
|
|
|
* ``PIL.VERSION`` (old PIL version 1.1.7)
|
|
* ``PIL.PILLOW_VERSION``
|
|
* ``PIL.Image.VERSION``
|
|
* ``PIL.Image.PILLOW_VERSION``
|
|
|
|
Use ``PIL.__version__`` instead.
|
|
|
|
|
|
API Additions
|
|
=============
|
|
|
|
Image.rotate
|
|
^^^^^^^^^^^^
|
|
|
|
A new named parameter, ``fillcolor``, has been added to ``Image.rotate``. This
|
|
color specifies the background color to use in the area outside the rotated
|
|
image. This parameter takes the same color specifications as used in
|
|
``Image.new``.
|
|
|
|
Other Changes
|
|
=============
|
|
|
|
Support added for Python 3.7
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Pillow 5.2 supports Python 3.7.
|