Uncompressing TIFF files directly in Python

2006-01-18 Thread sophie_newbie
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

Re: Uncompressing TIFF files directly in Python

2006-01-18 Thread Peter Hansen
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

Re: Uncompressing TIFF files directly in Python

2006-01-18 Thread Paul Rubin
sophie_newbie [EMAIL PROTECTED] writes: 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? There's a libtiff library

Re: Uncompressing TIFF files directly in Python

2006-01-18 Thread sophie_newbie
I mainly just need it to work with windows and assumed that an os call would only work with windows! I've downloaded that free image software and the ctypes program, it seems to be working but I haven't yet worked out how to get it to decompress a G4 TIFF image... If anyone knows it would be of

Re: Uncompressing TIFF files directly in Python

2006-01-18 Thread Fredrik Lundh
sophie_newbie wrote: I mainly just need it to work with windows and assumed that an os call would only work with windows! I've downloaded that free image software and the ctypes program, it seems to be working but I haven't yet worked out how to get it to decompress a G4 TIFF image... If

Re: Uncompressing TIFF files directly in Python

2006-01-18 Thread Peter Hansen
sophie_newbie wrote: I mainly just need it to work with windows and assumed that an os call would only work with windows! Presumably you mistyped something there, since what you are basically saying is that an os call which only works on windows would suit you just fine since you only care

Re: Uncompressing TIFF files directly in Python

2006-01-18 Thread Gary Duzan
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

Re: Uncompressing TIFF files directly in Python

2006-01-18 Thread sophie_newbie
Ya I did, sorry! -- http://mail.python.org/mailman/listinfo/python-list

Re: Uncompressing TIFF files directly in Python

2006-01-18 Thread sophie_newbie
Ya that was the original plan but it didn't support the G4 compression of the tif files! I think the idea of using tiffcp is the best as it runs on both unix and windows which is what i need! -- http://mail.python.org/mailman/listinfo/python-list