Corrected reference

This commit is contained in:
Andrew Murray 2020-07-14 22:18:25 +10:00
parent 701e05d2f7
commit cd10404abb

View File

@ -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()