Pillow/docs/releasenotes/5.2.0.rst

39 lines
782 B
ReStructuredText

5.2.0
-----
API Changes
===========
Deprecations
^^^^^^^^^^^^
These version constants have been deprecated. ``VERSION`` will be removed in
Pillow 6.0.0, and ``PILLOW_VERSION`` will be removed after that.
* ``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.