diff --git a/PIL/ImageFile.py b/PIL/ImageFile.py index 5e1719fdc..500ebdde4 100644 --- a/PIL/ImageFile.py +++ b/PIL/ImageFile.py @@ -200,7 +200,7 @@ class ImageFile(Image.Image): for decoder_name, extents, offset, args in self.tile: decoder = Image._getdecoder(self.mode, decoder_name, args, self.decoderconfig) - seek(offset) + seek(int(offset)) decoder.setimage(self.im, extents) if decoder.pulls_fd: decoder.setfd(self.fp)