[Image-SIG] Problem reading PNG image

Bob Ippolito bob at redivi.com
Fri Oct 31 09:05:58 EST 2003


On Oct 31, 2003, at 8:59 AM, Kevin D. Smith wrote:

> I have some images generated by the dvi2bitmap program that don't seem 
> to work in PIL.  PIL gives me the size correctly, but if I try to do 
> anything with it (e.g. getbbox), I get an IOError in the load method.  
> See the attached image as an example.

I can reproduce this problem (OS X 10.3, PIL compiled with libtiff, 
libjpeg, libpng, freetype against vendor Python 2.3).  I'm not sure 
what the solution is, but the OS itself reads the png just fine (I see 
it inline in your message).

-bob




More information about the Image-SIG mailing list