[pygtk] Sample code with draw_rgb_image !
James Henstridge
james@daa.com.au
Thu, 9 Nov 2000 08:58:17 +0800 (WST)
On Wed, 8 Nov 2000 abouf066@aix2.uottawa.ca 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.