diff --git a/PIL/TiffImagePlugin.py b/PIL/TiffImagePlugin.py index d7367c113..85d5609c9 100644 --- a/PIL/TiffImagePlugin.py +++ b/PIL/TiffImagePlugin.py @@ -655,7 +655,9 @@ class TiffImageFile(ImageFile.ImageFile): self.__next = self.tag.next self.__frame += 1 self._setup() - + #UNDONE - decompresion bomb + self.im = Image.core.new(self.mode, self.size) + def _tell(self): return self.__frame