Hi.

PIL 1.1.5 and 1.1.6 cannot load the png:
http://www.ggerber.globesky.com/phd%5Fsite/Stat1Hz_frame_0041.png
I get: "IOError: decoding error when reading image file"

However both versions can load this png:
http://www.ggerber.globesky.com/phd%5Fsite/Stat1Hz_frame_0040.png

Is there a work around for this error?
I would like to work with numpy arrays. Hence using PIL 1.1.6 the code is:

import Image
from numpy import asarray
img = Image.open('C:\Stat1Hz_frame_0041.png')
raw = asarray(img)

Regards
George
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to