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

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

 



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

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux