Uncompressing TIFF files directly in Python

Gary Duzan gary.duzan at motorola.com
Wed Jan 18 16:10:12 EST 2006


sophie_newbie wrote:
> Hey guys,
> 
> OK this is a long shot but does anyone know of a way to uncompress tiff
> files directly in python. I know it can be done with an os call but
> that'll only work on unix and only if the right software is installed!
> 
> I need to convert tiff images downloaded from uspto.gov to pdf, these
> images are compressed using G4, so I dunno if anyone knows of a method
> of doing this witout the os call! Surely there is a utility out there
> somewhere?

    You can look into using the Python Imaging Library, which supports 
reading TIFFs and runs on multiple platforms, including Windows.

http://www.pythonware.com/products/pil/

					Gary Duzan
					Motorola CHS



More information about the Python-list mailing list