mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
"cutoff" can also be a float
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
9df91911d8
commit
ecc9cf3d73
|
@ -54,7 +54,7 @@ ImageOps.autocontrast cutoffs
|
|||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Previously, the ``cutoff`` parameter of :py:func:`.ImageOps.autocontrast` could only
|
||||
be a single integer, used as the percent to cut off from the histogram on the low and
|
||||
be a single number, used as the percent to cut off from the histogram on the low and
|
||||
high ends.
|
||||
|
||||
Now, it can also be a tuple ``(low, high)``.
|
||||
|
|
Loading…
Reference in New Issue
Block a user