mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Document deprecations
This commit is contained in:
parent
a2a5ebfeb4
commit
daee1d4b3d
|
@ -34,6 +34,26 @@ Two version constants – ``VERSION`` (the old PIL version, always 1.1.7) and
|
|||
``PILLOW_VERSION`` – have been deprecated and will be removed in the next
|
||||
major release. Use ``__version__`` instead.
|
||||
|
||||
ImageCms.CmsProfile attributes
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. deprecated:: 3.2.0
|
||||
|
||||
Some attributes in ``ImageCms.CmsProfile`` are deprecated. From 6.0.0, they issue a
|
||||
``DeprecationWarning``:
|
||||
|
||||
======================== ===============================
|
||||
Deprecated Use instead
|
||||
======================== ===============================
|
||||
``color_space`` Padded ``xcolor_space``
|
||||
``pcs`` Padded ``connection_space``
|
||||
``product_copyright`` Unicode ``copyright``
|
||||
``product_desc`` Unicode ``profile_description``
|
||||
``product_description`` Unicode ``profile_description``
|
||||
``product_manufacturer`` Unicode ``manufacturer``
|
||||
``product_model`` Unicode ``model``
|
||||
======================== ===============================
|
||||
|
||||
Removed features
|
||||
----------------
|
||||
|
||||
|
|
|
@ -29,10 +29,23 @@ and have now been removed: ``gaussian_blur``, ``gblur``, ``unsharp_mask``, ``usm
|
|||
API Changes
|
||||
===========
|
||||
|
||||
TODO
|
||||
^^^^
|
||||
Deprecations
|
||||
^^^^^^^^^^^^
|
||||
|
||||
TODO
|
||||
Some attributes in ``ImageCms.CmsProfile`` have been deprecated since Pillow 3.2.0. From
|
||||
6.0.0, they issue a ``DeprecationWarning``:
|
||||
|
||||
======================== ===============================
|
||||
Deprecated Use instead
|
||||
======================== ===============================
|
||||
``color_space`` Padded ``xcolor_space``
|
||||
``pcs`` Padded ``connection_space``
|
||||
``product_copyright`` Unicode ``copyright``
|
||||
``product_desc`` Unicode ``profile_description``
|
||||
``product_description`` Unicode ``profile_description``
|
||||
``product_manufacturer`` Unicode ``manufacturer``
|
||||
``product_model`` Unicode ``model``
|
||||
======================== ===============================
|
||||
|
||||
API Additions
|
||||
=============
|
||||
|
|
Loading…
Reference in New Issue
Block a user