Re: Convert png inline into a gdk-pixbuf?
- From: David NeÄas <yeti physics muni cz>
- To: Till Harbaum <lists harbaum org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Convert png inline into a gdk-pixbuf?
- Date: Thu, 9 Jul 2009 09:41:37 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]