mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-03 19:45:56 +03:00
Update release notes: Add mask parameter to autocontrast
This commit is contained in:
parent
6fecb841b4
commit
ff635923b2
|
@ -50,6 +50,14 @@ Add MIME type to PsdImagePlugin
|
|||
API Additions
|
||||
=============
|
||||
|
||||
ImageOps.autocontrast: add mask parameter
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
:py:func:`.ImageOps.autocontrast` can now take a ``mask`` parameter:
|
||||
|
||||
* Histogram used in contrast operation is computed using pixels within the mask.
|
||||
If no mask is given the entire image is used for histogram computation.
|
||||
|
||||
ImageOps.autocontrast cutoffs
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user