"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 anyone knows it would be of help?

tiffcp and friends are available for windows too:

    http://gnuwin32.sourceforge.net/packages/tiff.htm

    infile = "somefile.tif"

    os.system("tiffcp -c none %s temp.tif" % infile)

    im = Image.open("temp.tif")

</F>



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to