Image processing?

Gerhard Häring gerhard.nospam at bigfoot.de
Sun Oct 14 21:22:00 CEST 2001


On Sun, 14 Oct 2001 15:11:57 -0300, Antaeus Feldspar wrote:
>I'd like to be able to access image data in some of the common lossless
>formats, like BMP and PNG, and if possible also write output in these
>formats.  Even having one of these formats available should help, since
>I can use GIMP for conversion where it's needed.
>
>Note, I'm not looking for anything really advanced like seeing the image
>in real-time as it's manipulated; I just want to be able to
>programmatically get data like "the (r,g,b) value of the pixel at
>(10,10)" and the like, and as I said, being able to output to this
>format would also be nifty.  Before I go reinventing the wheel, does
>anyone know of existing code for this purpose?

The Python Imaging Library is your friend. http://www.pythonware.com/

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



More information about the Python-list mailing list