mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
change PSFile deprecation from 9.4.0 to 9.5.0
This commit is contained in:
parent
b8b153fd77
commit
61d0c8f523
|
@ -80,16 +80,6 @@ A number of constants have been deprecated and will be removed in Pillow 10.0.0
|
||||||
was reversed in Pillow 9.4.0 and those constants will now remain available.
|
was reversed in Pillow 9.4.0 and those constants will now remain available.
|
||||||
See :ref:`restored-image-constants`
|
See :ref:`restored-image-constants`
|
||||||
|
|
||||||
PSFile
|
|
||||||
~~~~~~
|
|
||||||
|
|
||||||
.. deprecated:: 9.4.0
|
|
||||||
|
|
||||||
The :py:class:`~PIL.EpsImagePlugin.PSFile` class has been deprecated and will
|
|
||||||
be removed in Pillow 11 (2024-10-15). This class was only made as a helper to
|
|
||||||
be used internally, so there is no replacement. If you need this functionality
|
|
||||||
though, it is a very short class that can easily be recreated in your own code.
|
|
||||||
|
|
||||||
===================================================== ============================================================
|
===================================================== ============================================================
|
||||||
Deprecated Use instead
|
Deprecated Use instead
|
||||||
===================================================== ============================================================
|
===================================================== ============================================================
|
||||||
|
@ -217,6 +207,16 @@ Use instead::
|
||||||
left, top, right, bottom = draw.multiline_textbbox((0, 0), "Hello\nworld")
|
left, top, right, bottom = draw.multiline_textbbox((0, 0), "Hello\nworld")
|
||||||
width, height = right - left, bottom - top
|
width, height = right - left, bottom - top
|
||||||
|
|
||||||
|
PSFile
|
||||||
|
~~~~~~
|
||||||
|
|
||||||
|
.. deprecated:: 9.5.0
|
||||||
|
|
||||||
|
The :py:class:`~PIL.EpsImagePlugin.PSFile` class has been deprecated and will
|
||||||
|
be removed in Pillow 11 (2024-10-15). This class was only made as a helper to
|
||||||
|
be used internally, so there is no replacement. If you need this functionality
|
||||||
|
though, it is a very short class that can easily be recreated in your own code.
|
||||||
|
|
||||||
Removed features
|
Removed features
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
|
|
@ -1,17 +1,6 @@
|
||||||
9.4.0
|
9.4.0
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Deprecations
|
|
||||||
============
|
|
||||||
|
|
||||||
PSFile
|
|
||||||
^^^^^^
|
|
||||||
|
|
||||||
The :py:class:`~PIL.EpsImagePlugin.PSFile` class has been deprecated and will
|
|
||||||
be removed in Pillow 11 (2024-10-15). This class was only made as a helper to
|
|
||||||
be used internally, so there is no replacement. If you need this functionality
|
|
||||||
though, it is a very short class that can easily be recreated in your own code.
|
|
||||||
|
|
||||||
API Additions
|
API Additions
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
|
|
@ -12,10 +12,13 @@ TODO
|
||||||
Deprecations
|
Deprecations
|
||||||
============
|
============
|
||||||
|
|
||||||
TODO
|
PSFile
|
||||||
^^^^
|
^^^^^^
|
||||||
|
|
||||||
TODO
|
The :py:class:`~PIL.EpsImagePlugin.PSFile` class has been deprecated and will
|
||||||
|
be removed in Pillow 11 (2024-10-15). This class was only made as a helper to
|
||||||
|
be used internally, so there is no replacement. If you need this functionality
|
||||||
|
though, it is a very short class that can easily be recreated in your own code.
|
||||||
|
|
||||||
API Changes
|
API Changes
|
||||||
===========
|
===========
|
||||||
|
|
Loading…
Reference in New Issue
Block a user