[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] QPixmap.loadFromData()
From: paolo () paolodestefani ! it
Date: 2013-01-28 20:27:25
Message-ID: 926fbaa9569f1b3a48a88ee7626995b2 () paolodestefani ! it
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic