mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Deprecated categories [ci skip]
This commit is contained in:
parent
aa35f6b572
commit
2d8658bd84
|
@ -33,6 +33,18 @@ Tk/Tcl 8.4
|
|||
Support for Tk/Tcl 8.4 is deprecated and will be removed in Pillow 10.0.0 (2023-01-02),
|
||||
when Tk/Tcl 8.5 will be the minimum supported.
|
||||
|
||||
Categories
|
||||
~~~~~~~~~~
|
||||
|
||||
.. deprecated:: 8.2.0
|
||||
|
||||
``im.category`` is deprecated and will be removed in Pillow 10.0.0 (2023-01-02),
|
||||
along with the related ``Image.NORMAL``, ``Image.SEQUENCE`` and
|
||||
``Image.CONTAINER`` attributes.
|
||||
|
||||
To determine if an image has multiple frames or not,
|
||||
``getattr(im, "is_animated", False)`` can be used instead.
|
||||
|
||||
Image.show command parameter
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
@ -502,10 +502,3 @@ Used to specify the quantization method to use for the :meth:`~Image.quantize` m
|
|||
|
||||
Check support using :py:func:`PIL.features.check_feature`
|
||||
with ``feature="libimagequant"``.
|
||||
|
||||
.. comment: These are not referenced anywhere?
|
||||
Categories
|
||||
^^^^^^^^^^
|
||||
.. data:: NORMAL
|
||||
.. data:: SEQUENCE
|
||||
.. data:: CONTAINER
|
||||
|
|
|
@ -10,6 +10,16 @@ Tk/Tcl 8.4
|
|||
Support for Tk/Tcl 8.4 is deprecated and will be removed in Pillow 10.0.0 (2023-01-02),
|
||||
when Tk/Tcl 8.5 will be the minimum supported.
|
||||
|
||||
Categories
|
||||
^^^^^^^^^^
|
||||
|
||||
``im.category`` is deprecated and will be removed in Pillow 10.0.0 (2023-01-02),
|
||||
along with the related ``Image.NORMAL``, ``Image.SEQUENCE`` and
|
||||
``Image.CONTAINER`` attributes.
|
||||
|
||||
To determine if an image has multiple frames or not,
|
||||
``getattr(im, "is_animated", False)`` can be used instead.
|
||||
|
||||
API Changes
|
||||
===========
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user