Re: save xmp to file or convert it to jpeg, png or gif



Sergey V. Beloshitsky wrote:

Hi, all i'm new here an already have a question :)

i have GdkPixmap *pixmap with a pixmap in it. And i want to convert it to jpeg or png or gif, or just save it to file, so How can i do it using gtk or maybe some other stuff
You can do this with *GdkPixbuf* library help:
http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/gdk-pixbuf-file-saving.html

Use *gdk_pixbuf_save()* and *gdk_pixbuf_savev()* functions.

Olexiy





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