4#ifndef QWEBPHANDLER_P_H
5#define QWEBPHANDLER_P_H
7#include <QtGui/qcolor.h>
8#include <QtGui/qcolorspace.h>
9#include <QtGui/qimage.h>
10#include <QtGui/qimageiohandler.h>
11#include <QtCore/qbytearray.h>
12#include <QtCore/qsize.h>
14#include "webp/decode.h"
15#include "webp/demux.h"
41 bool ensureScanned()
const;
52 mutable ScanState m_scanState;
53 WebPBitstreamFeatures m_features;
54 uint32_t m_formatFlags;
60 WebPDemuxer *m_demuxer;
The QColorSpace class provides a color space abstraction.
The QColor class provides colors based on RGB, HSV or CMYK values.
\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.
\inmodule QtCore\reentrant
bool write(const QImage &image) override
Writes the image image to the assigned device.
bool supportsOption(ImageOption option) const override
Returns true if the QImageIOHandler supports the option option; otherwise returns false.
bool read(QImage *image) override
Read an image from the device, and stores it in image.
QRect currentImageRect() const override
Returns the rect of the current image.
int currentImageNumber() const override
For image formats that support animation, this function returns the sequence number of the current im...
int imageCount() const override
For image formats that support animation, this function returns the number of images in the animation...
bool canRead() const override
Returns true if an image can be read from the device (i.e., the image format is supported,...
int loopCount() const override
For image formats that support animation, this function returns the number of times the animation sho...
int nextImageDelay() const override
For image formats that support animation, this function returns the number of milliseconds to wait un...
void setOption(ImageOption option, const QVariant &value) override
Sets the option option with the value value.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]