mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
add license comment to ImageCms; explicitly say "no replacement" for deprecations without a replacement
This commit is contained in:
parent
edc46e223b
commit
bddfebc331
|
@ -67,11 +67,11 @@ replaced with a new class :py:class:`.ImageCms.Flags` based on LittleCMS 2 flags
|
||||||
===================================================== ============================================================
|
===================================================== ============================================================
|
||||||
Deprecated Use instead
|
Deprecated Use instead
|
||||||
===================================================== ============================================================
|
===================================================== ============================================================
|
||||||
``ImageCms.DESCRIPTION``
|
``ImageCms.DESCRIPTION`` No replacement
|
||||||
``ImageCms.VERSION`` ``PIL.__version__``
|
``ImageCms.VERSION`` ``PIL.__version__``
|
||||||
``ImageCms.FLAGS["MATRIXINPUT"]`` :py:attr:`.ImageCms.Flags.CLUT_POST_LINEARIZATION`
|
``ImageCms.FLAGS["MATRIXINPUT"]`` :py:attr:`.ImageCms.Flags.CLUT_POST_LINEARIZATION`
|
||||||
``ImageCms.FLAGS["MATRIXOUTPUT"]`` :py:attr:`.ImageCms.Flags.FORCE_CLUT`
|
``ImageCms.FLAGS["MATRIXOUTPUT"]`` :py:attr:`.ImageCms.Flags.FORCE_CLUT`
|
||||||
``ImageCms.FLAGS["MATRIXONLY"]``
|
``ImageCms.FLAGS["MATRIXONLY"]`` No replacement
|
||||||
``ImageCms.FLAGS["NOWHITEONWHITEFIXUP"]`` :py:attr:`.ImageCms.Flags.NOWHITEONWHITEFIXUP`
|
``ImageCms.FLAGS["NOWHITEONWHITEFIXUP"]`` :py:attr:`.ImageCms.Flags.NOWHITEONWHITEFIXUP`
|
||||||
``ImageCms.FLAGS["NOPRELINEARIZATION"]`` :py:attr:`.ImageCms.Flags.CLUT_PRE_LINEARIZATION`
|
``ImageCms.FLAGS["NOPRELINEARIZATION"]`` :py:attr:`.ImageCms.Flags.CLUT_PRE_LINEARIZATION`
|
||||||
``ImageCms.FLAGS["GUESSDEVICECLASS"]`` :py:attr:`.ImageCms.Flags.GUESSDEVICECLASS`
|
``ImageCms.FLAGS["GUESSDEVICECLASS"]`` :py:attr:`.ImageCms.Flags.GUESSDEVICECLASS`
|
||||||
|
|
|
@ -20,11 +20,11 @@ with a new class :py:class:`.ImageCms.Flags` based on LittleCMS 2 flags.
|
||||||
===================================================== ============================================================
|
===================================================== ============================================================
|
||||||
Deprecated Use instead
|
Deprecated Use instead
|
||||||
===================================================== ============================================================
|
===================================================== ============================================================
|
||||||
``ImageCms.DESCRIPTION``
|
``ImageCms.DESCRIPTION`` No replacement
|
||||||
``ImageCms.VERSION`` ``PIL.__version__``
|
``ImageCms.VERSION`` ``PIL.__version__``
|
||||||
``ImageCms.FLAGS["MATRIXINPUT"]`` :py:attr:`.ImageCms.Flags.CLUT_POST_LINEARIZATION`
|
``ImageCms.FLAGS["MATRIXINPUT"]`` :py:attr:`.ImageCms.Flags.CLUT_POST_LINEARIZATION`
|
||||||
``ImageCms.FLAGS["MATRIXOUTPUT"]`` :py:attr:`.ImageCms.Flags.FORCE_CLUT`
|
``ImageCms.FLAGS["MATRIXOUTPUT"]`` :py:attr:`.ImageCms.Flags.FORCE_CLUT`
|
||||||
``ImageCms.FLAGS["MATRIXONLY"]``
|
``ImageCms.FLAGS["MATRIXONLY"]`` No replacement
|
||||||
``ImageCms.FLAGS["NOWHITEONWHITEFIXUP"]`` :py:attr:`.ImageCms.Flags.NOWHITEONWHITEFIXUP`
|
``ImageCms.FLAGS["NOWHITEONWHITEFIXUP"]`` :py:attr:`.ImageCms.Flags.NOWHITEONWHITEFIXUP`
|
||||||
``ImageCms.FLAGS["NOPRELINEARIZATION"]`` :py:attr:`.ImageCms.Flags.CLUT_PRE_LINEARIZATION`
|
``ImageCms.FLAGS["NOPRELINEARIZATION"]`` :py:attr:`.ImageCms.Flags.CLUT_PRE_LINEARIZATION`
|
||||||
``ImageCms.FLAGS["GUESSDEVICECLASS"]`` :py:attr:`.ImageCms.Flags.GUESSDEVICECLASS`
|
``ImageCms.FLAGS["GUESSDEVICECLASS"]`` :py:attr:`.ImageCms.Flags.GUESSDEVICECLASS`
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
# Optional color management support, based on Kevin Cazabon's PyCMS
|
# Optional color management support, based on Kevin Cazabon's PyCMS
|
||||||
# library.
|
# library.
|
||||||
|
|
||||||
|
# Originally released under LGPL. Graciously donated to PIL in
|
||||||
|
# March 2009, for distribution under the standard PIL license
|
||||||
|
|
||||||
# History:
|
# History:
|
||||||
|
|
||||||
# 2009-03-08 fl Added to PIL.
|
# 2009-03-08 fl Added to PIL.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user