Dina wrote:
[...]
> Can someone help in converting it and storing it
> as a file.?
It should be something along the lines of:
pixbuf = gdk_pixbuf_get_from_drawable (...);
gdk_pixbuf_save (pixbuf...);
Cheers,
-Tristan
Note that you'll get better results asking gtk+
related questions on gtk-list@gnome.org