create pixmap from data

Thomas Girod girodt at gmail.com
Fri Apr 14 04:45:03 EDT 2006


Hi there.

I have a list containing integer values from 0 to 255. With this list I
have informations width and height, as width * height = len(my_list)

What I want to do is to convert this array into a pixmap of dimension
width * height in order to draw it inside a pygtk GUI.

Any suggestions about a way to display those informations ?

cheers

Thomas




More information about the Python-list mailing list