Updated release notes

This commit is contained in:
Andrew Murray 2022-12-29 13:55:13 +11:00
parent bcdb208fe2
commit 21e811117e
3 changed files with 47 additions and 0 deletions

View File

@ -74,6 +74,11 @@ Constants
A number of constants have been deprecated and will be removed in Pillow 10.0.0
(2023-07-01). Instead, ``enum.IntEnum`` classes have been added.
.. note::
Additional ``Image`` constants were deprecated in Pillow 9.1.0, but they
were later restored in Pillow 9.4.0. See :ref:`restored-image-constants`
===================================================== ============================================================
Deprecated Use instead
===================================================== ============================================================

View File

@ -53,6 +53,11 @@ Constants
A number of constants have been deprecated and will be removed in Pillow 10.0.0
(2023-07-01). Instead, ``enum.IntEnum`` classes have been added.
.. note::
Some of these deprecations were restored in Pillow 9.4.0. See
:ref:`restored-image-constants`
===================================================== ============================================================
Deprecated Use instead
===================================================== ============================================================

View File

@ -103,3 +103,40 @@ Added support for DDS L and LA images
Support has been added to read and write L and LA DDS images in the uncompressed
format, known as "luminance" textures.
.. _restored-image-constants:
Constants
^^^^^^^^^
In Pillow 9.1.0, the following constants were deprecated. Those deprecations have now
been restored.
- ``Image.NONE``
- ``Image.NEAREST``
- ``Image.ORDERED``
- ``Image.RASTERIZE``
- ``Image.FLOYDSTEINBERG``
- ``Image.WEB``
- ``Image.ADAPTIVE``
- ``Image.AFFINE``
- ``Image.EXTENT``
- ``Image.PERSPECTIVE``
- ``Image.QUAD``
- ``Image.MESH``
- ``Image.FLIP_LEFT_RIGHT``
- ``Image.FLIP_TOP_BOTTOM``
- ``Image.ROTATE_90``
- ``Image.ROTATE_180``
- ``Image.ROTATE_270``
- ``Image.TRANSPOSE``
- ``Image.TRANSVERSE``
- ``Image.BOX``
- ``Image.BILINEAR``
- ``Image.HAMMING``
- ``Image.BICUBIC``
- ``Image.LANCZOS``
- ``Image.MEDIANCUT``
- ``Image.MAXCOVERAGE``
- ``Image.FASTOCTREE``
- ``Image.LIBIMAGEQUANT``