Alternative to PIL or other way of resizing/converting pictures

Thomas Weholt thomas at gatsoft.no
Mon Jan 21 07:15:37 EST 2002


I've just made a simple, yet functional web-gallery script using
Pythonware's PIL-package. It works great; it's easy to use and produces ok
results. I thought I'd distribute this package for our friends trapped in
WindowsHell by using Py2EXE. Ran the "python setup.py py2exe"-thing and got
a nice little executable, some python DLLs and a *huge* folder containing
TkInter. My program is a plain console script, no GUI whatsoever. If my 1k
scripts needs 10MB ( that's the total of needed libs produced by the
Py2Exe-method ) that's pretty bloated in my mind. Hopefully, this is a bug
in Py2EXE or there's a way to distribute PIL-based scripts without having to
distribute the entire TkInter-installation too.

Anyway, if there are any alternative to PIL for converting BMP/TGA/GIF to
JPEG and resizing them, please let me know.

And for the record; PIL is still great. I use it for all my other projects.

Best regards,
Thomas Weholt





More information about the Python-list mailing list