I use pixbuf.save(fname, 'png') to write PNGs to file fname. I would like to have the option to write to stdout, but I get an error when I pass in a file instance, eg, sys.stdout or file(fname, 'w'). This is not too surprising and is consistent with the documentation, but I was wondering if there is any known way to write a pixbuf as PNG to a file-like object, eg stdout.
JDH _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
