2018-04-06 23:57:25 +03:00
|
|
|
5.2.0
|
2018-04-05 13:52:58 +03:00
|
|
|
-----
|
|
|
|
|
2018-04-11 16:03:52 +03:00
|
|
|
API Changes
|
|
|
|
===========
|
|
|
|
|
|
|
|
Deprecations
|
|
|
|
^^^^^^^^^^^^
|
|
|
|
|
2018-04-11 17:02:24 +03:00
|
|
|
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 ``__version__`` instead.
|
2018-04-11 16:03:52 +03:00
|
|
|
|
|
|
|
|
2018-04-05 13:52:58 +03:00
|
|
|
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.
|