Image operation

Fredrik Lundh effbot at telia.com
Wed Feb 16 15:23:54 EST 2000


Arinte <jamarijr at hotmail.com> wrote:
> How can I use python to open + manipulate a .bmp or .jpg file.  I
> looked at the imageop in the documentation, but wasn't sure how to use
> it.  I am interested in the scaling and dithering functions they have.

you could invent a way to read JPEG or BMP images
into strings, and use imageop on those...

...or you could use PIL:
http://www.pythonware.com/products/pil

</F>





More information about the Python-list mailing list