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?
Why didn't you want an OS call? Do you have other constraints that would invalidate anything but a pure Python solution? What about using FreeImage? (http://freeimage.sourceforge.net) It can be called via ctypes as http://freeimagepy.sourceforge.net/ does. -Peter -- http://mail.python.org/mailman/listinfo/python-list