This commit is contained in:
jlwoolf 2022-09-27 07:59:43 -06:00
commit 0c1ff743b6

View File

@ -352,7 +352,7 @@ class AniFile:
return im return im
def sizes(self): def sizes(self):
return [data['size'] for data in self.image_data] return [data["size"] for data in self.image_data]
def hotspots(self): def hotspots(self):
pass pass
@ -362,7 +362,7 @@ class AniImageFile(ImageFile.ImageFile):
""" """
PIL read-only image support for Microsoft Windows .ani files. PIL read-only image support for Microsoft Windows .ani files.
By default the largest resolution image and first frame in the file will By default the largest resolution image and first frame in the file will
be loaded. be loaded.
The info dictionary has four keys: The info dictionary has four keys: