On Thu, Jul 09, 2009 at 08:46:39AM +0200, Till Harbaum wrote: > How can i decode a png image stored in a memory buffer into a gdk-pixmap > without > saving it in a file during that process?
Create a GdkPixbufLoader with gdk_pixbuf_loader_new_with_type(), pass the data with gdk_pixbuf_loader_write(), finish with gdk_pixbuf_loader_close(), get the pixbuf with gdk_pixbuf_loader_get_pixbuf(), clean-up. Yeti _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list