Hi

Is there any way to fetch data from a pixbuf to a variable, and then
restore the pixbuf from that data? I need this to store the pixbuf along
with other data in a file. Optimally, I want to store the pixbuf as png
data in the data file.

It could be done by saving the pixbuf as a png in /tmp, and then place
the png data in the file, but there must be a better way to do this?

The gdk c api has a couple of functions called gdk_pixdata_serialize()
and gdk_pixdata_deserialize(), but they don't seem to exist in pygtk.



-- 
Erik Grinaker
http://erikg.wired-networks.net
                                                                                
"To iterate is human, to recurse, divine"
  - Robert Heller

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to