[Tutor] Raw image display in a GUI window

Kent Johnson kent37 at tds.net
Tue Nov 8 17:49:47 CET 2005


Marcin Komorowski wrote:
> Hello,
> 
> I want to use Python to do some experimentation with graphic 
> processing/manipulation, and I am looking for a way to be able to manipulate 
> individual pixels of the image, as well as display it in a GUI.  Ideal image 
> representation would be something of the form of a two-dimensional array of 
> tuples, each tuple containing the Red, Green and Blue components.

Take a look at Python Imaging Library http://www.pythonware.com/products/pil/
It has functions for manipulating images and it interfaces to Tkinter.

Kent

-- 
http://www.kentsjohnson.com



More information about the Tutor mailing list