Corrected info key

This commit is contained in:
Andrew Murray 2017-09-06 13:14:47 +10:00
parent 07a86bacc9
commit e0c6ca9b61

View File

@ -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:])