Writing pixbufs to a file?



Hello all,

I'm quite new to GTK+ (I'm using v1.2 under Linux.) I think this is a simple
request, but I haven't found a simple answer: IS there a routine that will
write a pixbuf to a file? Basically I'd like to take the GdkDrawable of a
window and same the image to a file for later processing. I figure
gdk-pixbuf-get-from-drawable(...) will give me a pixbuf, but I am not sure
how to get that into a file.

Thanks for any help you can provide.

Raj
____________________________________________________________
Rajanikanth Tanikella             Phone: +1 (609) 734-6529
Siemens Corporate Research, Inc.  Fax: +1 (609) 734-6565
755 College Road East             Email: raj scr siemens com
Princeton, NJ 08540, USA          http://www.scr.siemens.com




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