From gtk-app-devel Wed Feb 21 00:32:02 2007 From: Mike Melanson Date: Wed, 21 Feb 2007 00:32:02 +0000 To: gtk-app-devel Subject: BGR vs. RGB in GTK/GDK Message-Id: <45DB9302.6040709 () multimedia ! cx> X-MARC-Message: https://marc.info/?l=gtk-app-devel&m=117201795228379 Hi, I have an app that has been drawing bitmaps to the screen using X11 facilities. I'm trying to convert it to use GTK/GDK. This app has always rendered bitmaps in blue-green-red (BGR) pixel order which, per my understanding, is the native order that the hardware expects. Now, I am using gdk_draw_rgb_image()/gdk_draw_rgb_32_image() which clearly states that it wants data in RGB order. Is there a facility I am overlooking for rendering the BGR bitmap? Thanks... -- -Mike Melanson _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list