Re: Re: Convert png inline into a gdk-pixbuf?
- From: "Till Harbaum" <lists harbaum org>
- To: "David NeÄ?as" <yeti physics muni cz>, "Till Harbaum" <lists harbaum org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Re: Convert png inline into a gdk-pixbuf?
- Date: Thu, 9 Jul 2009 10:43:03 +0200 (MEST)
Hi,
works like a charm, thanks!
Till
----- original Nachricht --------
Betreff: Re: Convert png inline into a gdk-pixbuf?
Gesendet: Do, 09. Jul 2009
Von: David NeÄ?as<yeti physics muni cz>
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
--- original Nachricht Ende ----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]