Re: Creating GdkPixbuf from PNG data
- From: Jean Bréfort <jean brefort free fr>
- To: Pramod Patangay <pramod_iitg yahoo com>
- Cc: gtk-list gnome org
- Subject: Re: Creating GdkPixbuf from PNG data
- Date: Fri, 07 Jan 2005 11:52:42 +0100
Le vendredi 07 janvier 2005 �2:43 -0800, Pramod Patangay a �it :
> Hi,
>
> I have PNG data in memory which is essentially the
> contents of a png file. I need to create a GdkPixbuf
> from this data. How can I do this?
If you can access the png file, you can use gdk_pixbuf_new_from_file.
Otherwise, if you want to use the version already in memory,
gdk_pixbuf_new_from_data might work.
Consult the GdkPixbuf documentation at
http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/index.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]