PIL problem: can't load PNG images

Maurizio Turatti mturatti at yahoo.com
Thu Jun 1 04:42:56 EDT 2000


Hi,
I just downloaded PIL 1.0 precompiled for Windows. When I try to load a
PNG file, I get this error:

>>> im = Image.open("Kvr-map-border.png")
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "D:\Python\Lib\PIL\Image.py", line 894, in open
    raise IOError, "cannot identify image file"
IOError: cannot identify image file

But PNG file format is supported, isn't it? The zlib support lib is
installed and working.

Thanks,
Maurizio


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list