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:
German Novikov 2021-03-23 15:04:12 +03:00 committed by GitHub
parent 2c973b4cca
commit 9d3da37f35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,13 +74,13 @@ be specified through a keyword argument::
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
histograms for each color channel, it changes tone of the image. Added ``preserve_tone``
argument which avoids changing the tone of the image using one luminance histogram for all
channels.
The default behaviour of the :py:meth:`~PIL.ImageOps.autocontrast` is to normalize
separate histograms for each color channel, changing the tone of the image. The new
``preserve_tone`` argument keeps the tone unchanged by using one luminance histogram
for all channels.
Security
========