Il 2013-01-28 15:11 Hans-Peter Jansen ha scritto:
try this:

               print("Load", pix.loadFromData(QByteArray(ba), "PNG"))


I've tryed already this but with no success. >ba< is already a QByteArray BUT different from what i've store and i don't know why. As i've replyed before i can only change the field type of the sql table from bytea to text and store there a QByteArray.toBase64() string

Thank you anyway
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to