Question

PIL doesn't natively support G4 images, is there some other python package that does? I need to read multi-page TIFF images and pull convert them into gif/png on the fly to serve up in a web page. (I'm not converting them all on the fly, but cherry picking them for display).

I've considered using ImageMagick which has that conversion ability, but I'd like to be able to reach into the TIFF files and see what is inside them for indexing.

OTHER TIPS

Using PythonMagick:

from PythonMagick import Image
Image('CCITT_4.TIF[0]').write("PNG8:CCITT_4.PNG")
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top