[pygtk] Pixmap save/load

David Ripton dripton at ripton.net
Fri Oct 9 10:03:39 WST 2009


On 2009.10.08 21:07:10 +0100, Peyman wrote:
> I am generating a pictures that requires O(n^2) time so I create it as  
> a pixmap, that way I don't have to keep generating it. I can then save  
> this as a JPEG via pixbuf. But is there any way to load that jpeg  
> again, for example the next time I load the program?

http://www.pygtk.org/docs/pygtk/class-gdkpixbuf.html#function-gdk--pixbuf-new-from-file

-- 
David Ripton    dripton at ripton.net


More information about the pygtk mailing list