Le samedi 31 janvier 2009 à 20:11 +, Richard Shann a écrit :
The Gdk functions to create bitmaps from data require xbm or xpm data.
(For example gdk_bitmap_create_from_data ()). Why do I not see anything
to create a bitmap from a (bw) .png image?
There are functions to convert a PNG with
On Thu, 2009-02-05 at 16:20 +, gtk-app-devel-list-requ...@gnome.org
wrote:
There are functions to convert a PNG with transparency (alpha component)
to a GdkBitmap according to a threshold. See
gdk_pixbuf_render_threshold_alpha()
The Gdk functions to create bitmaps from data require xbm or xpm data.
(For example gdk_bitmap_create_from_data ()). Why do I not see anything
to create a bitmap from a (bw) .png image?
I've used the pixbuf library before, using gdk_draw_pixbuf() but the
program I am working on uses a GdkBitmap