[Image-SIG] PIL problem with PNG

Matthew Belk Matthew.Belk@noaa.gov
Sat, 01 Jul 2000 11:34:04 -0400


Hello all.

I am using PIL 1.1 with Python 1.5.2 and zlib 1.1.3 on HP-UX 10.20.  As
best as I can tell, PIL has compiled correctly.  I can import _imaging
and Image.  My problem arises when I try to save a PNG back to disk.
Here is a sample:

>>> import _imaging
>>> import Image
>>> im = Image.open('basegray,png')
>>> im.mode
'RGB'
>>> im.save('mainmap.png')

The error message I am getting is this:

IOError: decoder zip not available

Does anyone have any ideas?  Thanks for your help.

Matthew Belk
National Weather Service Charleston, WV