problem saving tif files with PIL

Fredrik Lundh fredrik at pythonware.com
Fri Apr 8 16:05:04 EDT 2005


"mchl gdbt" <mchlgdbt at hotmail.com> wrote:

> Ideally, I want the output image to be identical to the original in every way.  I suspect that it 
> might be enough to just change the size numbers though I don't know how.  I will be messing around 
> with the pixel colours eventually but the structure of the image must remain basically identical 
> so that application B works as before.

PIL's an image manipulation library, not a TIFF manipulation library.

for TIFF manipulation, using pytiff (and the underlying libtiff library) is probably
your best bet:

    http://pubweb.northwestern.edu/~omh221/software_projects/pytiff/

</F> 






More information about the Python-list mailing list