mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-29 11:26:17 +03:00
55 lines
1.3 KiB
ReStructuredText
55 lines
1.3 KiB
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.
|
|
|
|
Build macOS wheels with Xcode 6.4, supporting older macOS versions
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
The macOS wheels for Pillow 5.1.0 were built with Xcode 9.2, meaning 10.12
|
|
Sierra was the lowest supported version.
|
|
|
|
Prior to Pillow 5.1.0, Xcode 8 was used, supporting El Capitan 10.11.
|
|
|
|
Instead, Pillow 5.2.0 is built with the oldest available Xcode 6.4 to support
|
|
at least 10.10 Yosemite.
|
|
|
|
Fix _i2f compilation with some GCC versions
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
For example, this allows compilation with GCC 4.8 on NetBSD.
|