[19:41:43] <grubernaut> I’m getting “IOError: broken data stream when reading image file” when trying to open and convert a jpeg image.
[19:41:47] <grubernaut> this works for a png image
[19:42:20] <grubernaut> PIL == 1.1.7, libjpeg8-dev is installed
[19:57:41] <wiredfool> grubernaut: it's possible you have a bad jpeg image
[19:58:27] <wiredfool> There are definitely some cases where truncated jpegs will trigger that wort of error
[19:58:59] <grubernaut> wiredfool: it’s shown on multiple different jpegs
[20:00:16] <wiredfool> It's possible that there's something between pil 1.1.7 and jpeg8, I'm not aware of ever testing that combination. I know recent pillow should work with jpeg8 and later
[20:00:39] <grubernaut> yeah definitely… :( stuck with 1.1.7 though
[20:03:13] <wiredfool> I think that the allow truncation flag is post PIL