image lib & Qt4

aljosa aljosa.mohorovic at gmail.com
Thu Jun 1 12:53:34 EDT 2006


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

Diez B. Roggisch wrote:
> aljosa wrote:
>
> > i'm looking for image lib which supports common image types (maybe
> > freeimagepy?) and is relatively easy to display image loaded through
> > that lib in PyQt4.
> > any ideas?
>
> Use PIL & StringIO to create a in-memory representation of the image as e.g.
> PNG. Load that using Qt.
> 
> Diez




More information about the Python-list mailing list