[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
  Web www.spinics.net

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



[GIMP Users]     [Yosemite News]    [Yosemite Photos]    [Gimp's Home]     [Steve's Art]

Add to Google Powered by Linux