mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 02:16:19 +03:00
Changed wording [ci skip]
This commit is contained in:
parent
6f24eda48a
commit
7fd0a1493a
|
@ -24,9 +24,8 @@ for a region of an image.
|
||||||
returns the low and high bins used. This is correct for images with 8 bits per
|
returns the low and high bins used. This is correct for images with 8 bits per
|
||||||
channel, but fails for other modes such as ``I`` or ``F``. Instead, use
|
channel, but fails for other modes such as ``I`` or ``F``. Instead, use
|
||||||
:py:meth:`~PIL.Image.getextrema` to return per-band extrema for the image.
|
:py:meth:`~PIL.Image.getextrema` to return per-band extrema for the image.
|
||||||
This is more correct and efficient because :py:meth:`~PIL.Image.getextrema` is
|
This is more correct and efficient because, for non-8-bit modes, the histogram
|
||||||
used by the histogram method for non-8-bit modes to return extrema to define the
|
method uses :py:meth:`~PIL.Image.getextrema` to determine the bins used.
|
||||||
bins used in the histogram.
|
|
||||||
|
|
||||||
.. py:attribute:: count
|
.. py:attribute:: count
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user