drawing images & byte_order
- From: Éder Augusto Penharbel <epenharbel yahoo com br>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: drawing images & byte_order
- Date: Fri, 16 Jan 2004 16:06:44 -0200
hello all..
i'm begginer in the gtk programming... i need to draw a image from a
buffer in LSBFirst byte-order, using gdk_draw_rgb_image the colors are
swapped and i mustn't swap the pixels in a loop...
if i use the Xlib... i can use this:
XImage *image;
im = XCreateImage( ... )
...
im->byte_order = MSBFirst;
XPutImage( ... )
...
and runs fine...
but i have to use the gtk and i don't know how do this, the solution
also can be a mix of gtk and Xlib if possible...
:-) thanks...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]