mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Corrected info key
This commit is contained in:
parent
07a86bacc9
commit
e0c6ca9b61
|
@ -51,7 +51,7 @@ class GdImageFile(ImageFile.ImageFile):
|
|||
# transparency index
|
||||
tindex = i16(s[5:7])
|
||||
if tindex < 256:
|
||||
self.info["transparent"] = tindex
|
||||
self.info["transparency"] = tindex
|
||||
|
||||
self.palette = ImagePalette.raw("RGB", s[7:])
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user