Decoding group4 tiff with PIL

Filipe fcorreia at gmail.com
Wed Sep 27 10:59:12 EDT 2006


Is decoding group4 tiff possible with Python Imaging Library?
I'm trying to convert some image files (several formats, among which,
G4 tiffs) to PNG but everything I read about it seems to indicate PIL
doesn't support group4 encoding, and won't support it in the short
term.

yet, I found something[1] that seems like some sort of plugin for PIL
and that does look promising, although it seems to be in a bit of an
alpha state. However, I don't know where to start.. Should I copy
libtiff.py to some location?

Also found an alternative[2] to PIL, but I'd rather have PIL doing
everything, no matter the format of the file read, if possible. Haven't
tried this alternative yet.

[1] http://effbot.python-hosting.com/file/stuff/sandbox/pil/libtiff.py
[2] http://www.haynold.com/software_projects/2004/pytiff/

Any thoughts?

Cheers,
Filipe




More information about the Python-list mailing list