Fixed typo

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Andrew Murray 2022-12-29 11:07:16 +11:00 committed by GitHub
parent a9c46bc288
commit a4baeda9f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ If an image does not have an alpha band, transparency may be specified in the
:py:attr:`~PIL.Image.Image.info` attribute with a "transparency" key. :py:attr:`~PIL.Image.Image.info` attribute with a "transparency" key.
Most of the time, the "transparency" value is a single integer, describing Most of the time, the "transparency" value is a single integer, describing
which pixel value is transparent in an "1", "L", "I" or "P" mode image. which pixel value is transparent in a "1", "L", "I" or "P" mode image.
However, PNG images may have three values, one for each channel in an "RGB" However, PNG images may have three values, one for each channel in an "RGB"
mode image, or can have a byte string for a "P" mode image, to specify the mode image, or can have a byte string for a "P" mode image, to specify the
alpha value for each palette entry. alpha value for each palette entry.