image lib & Qt4

Diez B. Roggisch deets at nospam.web.de
Thu Jun 1 12:01:24 EDT 2006


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