Re: [pygtk] Sample code with draw_rgb_image !

2000-11-08 Thread James Henstridge

On Wed, 8 Nov 2000 [EMAIL PROTECTED] wrote:

> Greetings, 
> 
>   Does anybody have a sample code calling draw_rgb_image or
> draw_rgb_32_image ? 
> 
> At first sight, it seems simple but I it always complains about the buffer
> argument. Is "buffer" a special Python data type or is it just a list of
> holding integer values (Thta is what I assumed so far!)

buffer is a string.  There is also a draw_array() function that is enabled
if Numeric python is installed, which can be used to render numpy arrays.

James.


___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk



[pygtk] Sample code with draw_rgb_image !

2000-11-08 Thread abouf066

Greetings, 

Does anybody have a sample code calling draw_rgb_image or
draw_rgb_32_image ? 

At first sight, it seems simple but I it always complains about the buffer
argument. Is "buffer" a special Python data type or is it just a list of
holding integer values (Thta is what I assumed so far!)

Thanks 

_

LaBoufarikoise



___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk