18#include <QtGui/qimageiohandler.h>
19#include <QtGui/qimage.h>
20#include <QtCore/qbytearray.h>
47 bool imageIsComing()
const;
53 mutable int nextDelay;
57 mutable bool scanIsCached;
bool supportsOption(ImageOption option) const override
Returns true if the QImageIOHandler supports the option option; otherwise returns false.
int nextImageDelay() const override
For image formats that support animation, this function returns the number of milliseconds to wait un...
int currentImageNumber() const override
For image formats that support animation, this function returns the sequence number of the current im...
bool read(QImage *image) override
Read an image from the device, and stores it in image.
int loopCount() const override
For image formats that support animation, this function returns the number of times the animation sho...
bool canRead() const override
Returns true if an image can be read from the device (i.e., the image format is supported,...
int imageCount() const override
For image formats that support animation, this function returns the number of images in the animation...
bool write(const QImage &image) override
Writes the image image to the assigned device.
void setOption(ImageOption option, const QVariant &value) override
Sets the option option with the value value.
\inmodule QtCore \reentrant
The QImageIOHandler class defines the common image I/O interface for all image formats in Qt.
ImageOption
This enum describes the different options supported by QImageIOHandler.
QIODevice * device() const
Returns the device currently assigned to the QImageIOHandler.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]