From e0c6ca9b6141d64c2055ca36ba83455b65e3aa9f Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 6 Sep 2017 13:14:47 +1000 Subject: [PATCH] Corrected info key --- src/PIL/GdImageFile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/GdImageFile.py b/src/PIL/GdImageFile.py index 5b7dc3d76..645aae6e3 100644 --- a/src/PIL/GdImageFile.py +++ b/src/PIL/GdImageFile.py @@ -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:])