Tiff Image Reader/writer

Fredrik Lundh fredrik at pythonware.com
Tue Jun 14 08:06:06 CEST 2005


"PyPK" wrote:

> nothing fancy. I just want to be able to read a tiff image, get pixel
> values, write back to a tiff file.

so why doesn't PIL or ImageMagick work for you?

here's a minimal PIL version:

    from PIL import Image

    im = Image.open("myfile.tiff")
    value = im.getpixel((12, 34))
    im.save("other.tiff")

</F>






More information about the Python-list mailing list