Certain PNG files in one of my feeds are failing to load, with the following error:
Code:
Fetching http://c.o0bg.com/rw/Boston/2011-2020/2012/09/25/Comics/aj_c120925.png
Traceback (most recent call last):
File "site-packages\calibre\web\fetch\simple.py", line 388, in process_images
File "site-packages\PIL\Image.py", line 1982, in open
IOError: cannot identify image file
Unlike the last time I posted something like this, where it was my own mistake, this seems to be a problem in the image files themselves. The image file at
http://c.o0bg.com/rw/Boston/2011-202...aj_c120925.png seems to have something weird about it - I can open it in Chrome and Firefox (or, for that matter, GIMP), but IE 8 gives me a "red X broken image" picture for it.
I've attached a copy here as well. This simple script fails with the same error message as calibre (not surprising, given that it uses PIL):
Code:
from PIL import Image
im = Image.open("aj_c120925.png")
print "Format:", im.format, ", Mode:", im.mode, ", Size:", im.size
Can anyone offer any advice on this?