From 9d3da37f35426704776aef421b7e620d4b667e6e Mon Sep 17 00:00:00 2001 From: German Novikov Date: Tue, 23 Mar 2021 15:04:12 +0300 Subject: [PATCH] Update docs/releasenotes/8.2.0.rst [ci skip] Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com> --- docs/releasenotes/8.2.0.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/releasenotes/8.2.0.rst b/docs/releasenotes/8.2.0.rst index 7a6caec5b..3bdfadacd 100644 --- a/docs/releasenotes/8.2.0.rst +++ b/docs/releasenotes/8.2.0.rst @@ -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 ========