Re: Creating GdkPixbuf from PNG data
Le vendredi 07 janvier 2005 Ã 02:43 -0800, Pramod Patangay a Ãcrit :
> 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
_______________________________________________
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list
[GIMP Users]
[Yosemite News]
[Yosemite Photos]
[Gimp's Home]
[Steve's Art]