[PyKDE] QImageIO class

Phil Thompson phil at riverbankcomputing.co.uk
Thu Nov 6 12:42:00 GMT 2003


On Thursday 06 November 2003 10:09 am, david wrote:
> I would like to write an image into memory but it don't work, QImageIO
> class don't exist with Qt 3.1.0 and PyQt 3.5 ?
>
>
> from qt import *
>
> iio = QImageIO()
> im = QImage()
> im = pixmap()  //convert to image
> iio.setImage(im)

There doesn't seem to be any problem with adding this, so long as you don't 
want to define new handlers.

Phil




More information about the PyQt mailing list