Alex Hunsley wrote: > 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. >> >> I have looked at Tk and Tkinter, and there is a PhotoImage class that >> can define an image which can than be displayed in a Canvas widget, >> but the PhotoImage class seams to be doing a lot of extra work on the >> image, including gamma correction, etc. I am interested in being >> able to display exactly the pixel values I set. >> >> Thank You all in advance, >> Marcin >> > How about PyUI? > http://pyui.sourceforge.net/ > It may do what you're looking for... > alex
To add to my previous comment.... have a look at PyGame too: http://www.pygame.org/news.html It's designed for games programming, and makes it a snap to load and display an image in a window! (and lots of other things, e.g. sprites and animation) _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor