Re: [gtk-list] Is there a reverse of gdk_draw_rgb_image?




jca <jca@mail.phm.vcu.edu> writes:
>   gdk_draw_rgb_image draws an rgb picture onto a gtk drawable (such as a
> window or drawing area)...
> 
>   Is there any way to do the opposite, grab an image from a drawable
> and put it into an rgb buffer?
> 

Imlib and gdk-pixbuf have functions that do this; you can
cut-and-paste them if necessary (assuming your code is GPL/LGPL,
otherwise use them as examples).

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]