[Stoq-devel] [Bug 1988] - Suporte à fotografia no editor de produtos

bugzilla-daemon at async.com.br bugzilla-daemon at async.com.br
Mon Jul 17 16:53:58 BRT 2006


http://bugs.async.com.br/show_bug.cgi?id=1988  





--- Comment #2 from Johan Dahlin <jdahlin at async.com.br>  2006-07-17 16:53 BRT ---
AbstractSellable is the right place to add the attribute.
It should be a BLOBCol for SQLObject.

To copy a pixbuf to the database use pixbuf.save_to_callback
To copy a pixbuf from the database use gtk.gdk.PixbufLoader

Always save the data as png (compressed but not lossy) in the database.


More information about the Stoq-devel mailing list