15#ifndef QWBMPHANDLER_P_H
16#define QWBMPHANDLER_P_H
18#include <qimageiohandler.h>
37 static bool canRead(QIODevice *device);
ImageOption
This enum describes the different options supported by QImageIOHandler.
The QWbmpHandler class provides support for the WBMP image format.
bool canRead() const override
Verifies if some values (magic bytes) are set as expected in the header of the file.
QVariant option(ImageOption option) const override
Only Size option is supported.
static bool canRead(QIODevice *device)
~QWbmpHandler()
Destructor for QWbmpHandler.
QWbmpHandler(QIODevice *device)
Constructs an instance of QWbmpHandler initialized to use device.
bool supportsOption(ImageOption option) const override
Returns true if the QImageIOHandler supports the option option; otherwise returns false.
bool write(const QImage &image) override
\reimp
bool read(QImage *image) override
\reimp
QImageIOHandler * create(QIODevice *device, const QByteArray &format=QByteArray()) const override
Creates and returns a QImageIOHandler subclass, with device and format set.