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