[PyKDE] QImageIO class
michael at possibleworlds.com
Sun Feb 22 21:55:01 GMT 2004
I see that as of last Nov. 2003 it seems that adding a new QImageIO
wasn't supported. It appears the this is still the case with sip4.
be added. I need to read/write targa and photoshop images in addition
to the ones supported by TrollTech.
Traceback (most recent call last):
Resources/Main.py", line 6, in ?
from Controller import *
File "/Users/mef/Development/Testing/targa/Controller.py", line 5, in
from Image import *
File "/Users/mef/Development/Testing/targa/Image.py", line 15, in ?
QImageIO.defineIOHandler ("TGA", "", 0, readTGA, writeTGA)
On Nov 6, 2003, at 6:40 AM, Phil Thompson wrote:
> 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
> There doesn't seem to be any problem with adding this, so long as you
> want to define new handlers.
> PyKDE mailing list PyKDE at mats.imk.fraunhofer.de
More information about the PyQt