Moin,

I try to read an image from a database but I've problems with the
type. I don't have problems to create a pixbuf from file but if I try

pixbuffer = dbres[5]   # a postgresql bytea field

I get TypeError: pixbuf should be a GdkPixbuf or None.

I understand the error but I don't know how to solve this problem. How
do I assign an image from a database to a pixbuf?

Matthias
_______________________________________________
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