create pixmap from data
Eric Deveaud
edeveaud at pasteur.fr
Fri Apr 14 05:44:20 EDT 2006
Thomas Girod wrote:
> 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 ?
check the PIL (Python Imaging Library), Image module
Eric
--
S> Je cherche aussi des adresses de lieux contenant des fossiles dans
S> la région parisienne
http://www.senat.fr/
-+- DP in <http://www.le-gnu.net> : La dianurette et les fossiles -+-
More information about the Python-list
mailing list