mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
Corrected reference
This commit is contained in:
parent
701e05d2f7
commit
cd10404abb
|
@ -712,8 +712,8 @@ The :py:meth:`~PIL.Image.open` method sets the following attributes:
|
||||||
**n_frames**
|
**n_frames**
|
||||||
Set to the number of images in the stack.
|
Set to the number of images in the stack.
|
||||||
|
|
||||||
A convenience method, :py:meth:`~PIL.Image.Image.convert2byte`, is provided for
|
A convenience method, :py:meth:`~PIL.SpiderImagePlugin.SpiderImageFile.convert2byte`,
|
||||||
converting floating point data to byte data (mode ``L``)::
|
is provided for converting floating point data to byte data (mode ``L``)::
|
||||||
|
|
||||||
im = Image.open('image001.spi').convert2byte()
|
im = Image.open('image001.spi').convert2byte()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user