Re: Creating GdkPixbuf from PNG data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux