How do get monochrome pixel(1bpp) data from pixmap in GTK2 with linux?
- From: Vignesh Kumar <ur vigneshkumar gmail com>
- To: gtk-list gnome org
- Subject: How do get monochrome pixel(1bpp) data from pixmap in GTK2 with linux?
- Date: Wed, 4 Jul 2018 11:25:42 +0530
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?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]