43 #include <QtGui/qpaintengine.h> Format
The following image formats are available in Qt.
#define QT_END_NAMESPACE
This macro expands to.
void beginDataAccess() const
bool ensureFormat(QImage::Format format)
void endDataAccess(bool readOnly=false) const
Format format() const
Returns the format of the image.
#define QT_BEGIN_NAMESPACE
This macro expands to.
void detach()
If multiple images share common data, this image makes a copy of the data and detaches itself from th...
The QImage class provides a hardware-independent image representation that allows direct access to th...
QImage convertToFormat(Format f, Qt::ImageConversionFlags flags=Qt::AutoColor) const Q_REQUIRED_RESULT
Returns a copy of the image in the given format.
The QSharedData class is a base class for shared data objects.
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
void * duplicateNativeImage() const