write a bitmap using python

djw dwelch91 at comcast.net
Sat Jun 5 18:33:12 CEST 2004


lyuan wrote:

> Hi,
>     How can I write a bitmap using python? I have some integer data and 
> want to generate a bitmap graph for visualization.  Any suggestion will 
> be appreciated.
>     Sorry if this is an FAQ, BTW, where can I find the FAQ of this list?
> 
> thanks
> Lihua

If you application involves a UI like Qt/PyQt, then there are ample 
classes to perform this operation (QPixmap, QImage, etc). Otherwise, 
look at PIL.

-D



More information about the Python-list mailing list