Incremental image decoder for all supported image formats. More...
#include <qasyncimageio.h>
New formats are installed by creating objects of class QImageFormatType, and the QMovie class can be used for using all installed incremental image formats; QImageDecoder is only useful for creating new ways of feeding data to an QImageConsumer.
Constructs a QImageDecoder which will send change information to a given QImageConsumer.
Destroys a QImageDecoder. The image it built is destroyed. The decoder built by the factory for the file format is destroyed. The consumer for which it decoded the image is not destroyed.
Call this function to decode some data into image changes. The data will be decoded, sending change information to the QImageConsumer of this QImageDecoder, until one of the change functions of the consumer returns FALSE.
Returns the number of bytes consumed, 0 if consumption is complete, and -1 if decoding fails dur to invalid data.
[static]
Call this function to find the name of the format of the given header. The returned string is statically allocated.
Returns 0 if the format is not recognized.
Returns the image currently being decoded.
[static]
Returns a sorted list of formats for which asynchronous loading is supported.
[static]
Registers a new QImageFormatType. This is not needed in application code as factories call this themselves.
[static]
Unregisters a new QImageFormatType. This is not needed in application code as factories call this themselves.
Search the documentation, FAQ, qt-interest archive and more (uses
www.troll.no):
This file is part of the Qt toolkit, copyright © 1995-98 Troll Tech, all rights reserved.
It was generated from the following files:
Copyright © 1998 Troll Tech | Trademarks | Qt version 1.42
|