“ERROR: broken data stream when reading image file” (TrueType fonts libjpeg and PIL on OS X)

后端 未结 3 1080
遇见更好的自我
遇见更好的自我 2021-01-06 06:41

I\'m running OS X 10.6.7, Python 2.6, and writing a small wxPython application that uses PIL to manipulate an image and add some text to it.

After quite a bit of con

3条回答
  •  萌比男神i
    2021-01-06 07:03

    I've got a similar error when reading .jpg file with an up-to-date Python environment and Sierra Mac OS. I've found a quick workaround which consists to convert all the .jpg files to .png files Hoping that can help someone else.

提交回复
热议问题