mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-28 04:53:41 +03:00
fix ImageMath creating false index entries
This commit is contained in:
parent
6196695156
commit
eebecba3c2
|
@ -98,20 +98,24 @@ These functions are applied to each individual pixel.
|
||||||
.. py:currentmodule:: None
|
.. py:currentmodule:: None
|
||||||
|
|
||||||
.. py:function:: abs(image)
|
.. py:function:: abs(image)
|
||||||
|
:noindex:
|
||||||
|
|
||||||
Absolute value.
|
Absolute value.
|
||||||
|
|
||||||
.. py:function:: convert(image, mode)
|
.. py:function:: convert(image, mode)
|
||||||
|
:noindex:
|
||||||
|
|
||||||
Convert image to the given mode. The mode must be given as a string
|
Convert image to the given mode. The mode must be given as a string
|
||||||
constant.
|
constant.
|
||||||
|
|
||||||
.. py:function:: float(image)
|
.. py:function:: float(image)
|
||||||
|
:noindex:
|
||||||
|
|
||||||
Convert image to 32-bit floating point. This is equivalent to
|
Convert image to 32-bit floating point. This is equivalent to
|
||||||
convert(image, “F”).
|
convert(image, “F”).
|
||||||
|
|
||||||
.. py:function:: int(image)
|
.. py:function:: int(image)
|
||||||
|
:noindex:
|
||||||
|
|
||||||
Convert image to 32-bit integer. This is equivalent to convert(image, “I”).
|
Convert image to 32-bit integer. This is equivalent to convert(image, “I”).
|
||||||
|
|
||||||
|
@ -119,9 +123,11 @@ These functions are applied to each individual pixel.
|
||||||
integers if necessary to get a correct result.
|
integers if necessary to get a correct result.
|
||||||
|
|
||||||
.. py:function:: max(image1, image2)
|
.. py:function:: max(image1, image2)
|
||||||
|
:noindex:
|
||||||
|
|
||||||
Maximum value.
|
Maximum value.
|
||||||
|
|
||||||
.. py:function:: min(image1, image2)
|
.. py:function:: min(image1, image2)
|
||||||
|
:noindex:
|
||||||
|
|
||||||
Minimum value.
|
Minimum value.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user