mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-26 08:40:36 +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=...)
|
||||
|
||||
|
||||
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
|
||||
========
|
||||
|
|
Loading…
Reference in New Issue
Block a user