mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-26 16:50:33 +03:00
Update docs/releasenotes/8.2.0.rst [ci skip]
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
2c973b4cca
commit
9d3da37f35
|
@ -74,13 +74,13 @@ be specified through a keyword argument::
|
||||||
im.save("out.tif", icc_profile=...)
|
im.save("out.tif", icc_profile=...)
|
||||||
|
|
||||||
|
|
||||||
ImageOps.autocontrast: tone preserving option
|
ImageOps.autocontrast: preserve_tone
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
The default behaviour of the :py:meth:`~PIL.ImageOps.autocontrast` is to normalize separate
|
The default behaviour of the :py:meth:`~PIL.ImageOps.autocontrast` is to normalize
|
||||||
histograms for each color channel, it changes tone of the image. Added ``preserve_tone``
|
separate histograms for each color channel, changing the tone of the image. The new
|
||||||
argument which avoids changing the tone of the image using one luminance histogram for all
|
``preserve_tone`` argument keeps the tone unchanged by using one luminance histogram
|
||||||
channels.
|
for all channels.
|
||||||
|
|
||||||
Security
|
Security
|
||||||
========
|
========
|
||||||
|
|
Loading…
Reference in New Issue
Block a user