[pygtk] (De)serialize GdkPixBuffer

Johan Dahlin johan at gnome.org
Wed Jan 16 19:52:16 WST 2008


Michal Sawicz wrote:
> Hello list.
> 
> I've come upon a problem - I wanted to use an icon from f-spot in a
> python app, but they're stored as serialized GdkPixBuffers in an sqlite
> db.

Can't you just load the icon data from sql and use gdk.pixbuf_new_from_data?

Johan


More information about the pygtk mailing list