[PyKDE] StringIO and QImage

Aljosa Mohorovic aljosa.mohorovic at gmail.com
Thu Jun 1 17:57:00 BST 2006


i'm using PIL to open an image file and then convert it to PNG image and now
i would like to display that image in Qt.

does anybody know how to load <StringIO.StringIO instance> (in-memory
representation of PNG image) from Qt (v.4.1.3) as QImage?

any other ideas on loading different image format files and displaying it in
Qt4 is welcome.


Aljosa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20060601/94de7727/attachment.html


More information about the PyQt mailing list