Hmm, does anyone know if there is a way to uncompress Tiff files in
python itself without having to make an os call.
This is because the script is kind of supposed to run on windows
also...
Sophie.
--
http://mail.python.org/mailman/listinfo/python-list
The Tiff library and utilities combined with Ghostscript make this very
easy.
http://www.remotesensing.org/libtiff/
http://www.cs.wisc.edu/~ghost/
With the above two packages installed, you can do something like this
in Python:
def tiff2pdf(width, length, files):
path, filename = os.pat
"sophie_newbie" <[EMAIL PROTECTED]> writes:
> It looks like this odd compression format is not supported, or am i
> wrong?
>
> I know its a long shot but would anyone have a different solution?
I don't know about doing it directly in Python but there's a Linux
command line utility called tiff2ps
"sophie_newbie" <[EMAIL PROTECTED]> wrote:
> As part of a college project I'm trying to write a script to convert
> TIFF images downloaded from the US patent office site, www.uspto.gov.
>
> The tiff images are encoded using CCITT Group 4 compression and appear
> to throw an error when i try to sav
Hey guys,
As part of a college project I'm trying to write a script to convert
TIFF images downloaded from the US patent office site, www.uspto.gov.
The tiff images are encoded using CCITT Group 4 compression and appear
to throw an error when i try to save them using the Image library:
>>> im.sa