mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Corrected note syntax [ci skip]
This commit is contained in:
parent
f3f45cfec5
commit
4283683948
|
@ -20,8 +20,10 @@ for a region of an image.
|
|||
|
||||
Min/max values for each band in the image.
|
||||
|
||||
.. Note:: This relies on the :py:meth:`~PIL.Image.histogram` method,
|
||||
and simply returns the low and high bins used. This is correct for
|
||||
.. note::
|
||||
|
||||
This relies on the :py:meth:`~PIL.Image.histogram` method, and
|
||||
simply 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 :py:meth:`~PIL.Image.getextrema` to
|
||||
return per-band extrema for the image. This is more correct and
|
||||
|
|
Loading…
Reference in New Issue
Block a user