Entry
Manipulating PNG files using Win32 PIL
Jul 26th, 2000 01:01
unknown unknown, Olivier A. Dagenais
Problem:
I've writen a script to generate PNG images using PIL. It works a treat
under Linux, but when I try to port it to MSWindows, the
PIL/PngImagePlugin spits saying that I don't have a zip encoder. I
already have a copy of pkzip, but I got hold of a copy of gzip.exe and
stuck it in C:\Windows\zip.exe but to no avail. Can anyone confirm that
I need a zip executable, or is the PIL wanting a DLL, etc?
Solution:
http://www.pythonware.com/downloads.htm
Says this, near the end of the page:
"Optional support libraries must be downloaded separately: jpeg and
zlib."
...you'll want to follow the zlib link:
ftp://ftp.freesoftware.com/.0/infozip/zlib/zlib.html
The zlib library is used for manipulating PNG files...