[Image-SIG] Re: Saving tiff files

Fredrik Lundh fredrik at pythonware.com
Mon Nov 17 14:10:32 EST 2003


www.stani.be wrote:

> 1. save a tiff file with lzw compression from pil

nope; LZW is patented technology, and any use of LZW requires a
license from Unisys (the patent may have expired in some locations,
but that doesn't change the fact that Unisys is run by complete
morons; don't use their technology if you can avoid it).

> 2. save the dpi in the image file

something like this should work:

    im.save("myfile.tif", resolution=200)

</F>






More information about the Image-SIG mailing list