Web lists-archives.com

How do get monochrome pixel(1bpp) data from pixmap in GTK2 with linux?




Hello,

Source:

 GdkPixmap* m_pixmap;
 m_pixmap = gdk_pixmap_new(wxGetRootWindow()->window, m_width, m_height, 1/*monochrome*/);

gdk_pixbuf_get_pixels() does not supported by 1bpp. How to get the raw pixel(1bpp)data from pixmap? Is there any possible ways to do this?
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list