ImageFile.Parser.feed() breaks with some jpeg images: "ValueError: tile cannot extend outside image"

Create issue
Issue #30 new
Iván Raskovsky created an issue

I get this error: "ValueError: tile cannot extend outside image" when trying to feed the Parser small chunks of the attached image.

The code that does this comes from Django: in order to get the image height and width without loading all the image in memory.

I've tracked this error down to and later in

I don't know why this breaks with this image and not with other images, I haven't found anything wrong with this one.

Comments (0)

  1. Log in to comment