![]() |
Qt 6.x
The Qt SDK
|
#include <QGuiApplication>
#include <QBuffer>
#include <QImageIOHandler>
#include <QImage>
#include "qiiofhelpers_p.h"
Go to the source code of this file.
Functions | |
static QT_BEGIN_NAMESPACE size_t | cbGetBytes (void *info, void *buffer, size_t count) |
static off_t | cbSkipForward (void *info, off_t count) |
static void | cbRewind (void *) |
static size_t | cbPutBytes (void *info, const void *buffer, size_t count) |
CGImageRef | qt_mac_toCGImage (const QImage &qImage) |
QImage | qt_mac_toQImage (CGImageRef image) |
static QImageIOHandler::Transformations | exif2Qt (int exifOrientation) |
static int | qt2Exif (QImageIOHandler::Transformations transformation) |
|
static |
Definition at line 16 of file qiiofhelpers.cpp.
References info, qMax(), and QIODevice::read().
Referenced by QIIOFHelper::initRead().
Definition at line 48 of file qiiofhelpers.cpp.
References info, qMax(), and QIODevice::write().
Referenced by QIIOFHelper::writeImage().
Definition at line 43 of file qiiofhelpers.cpp.
Referenced by QIIOFHelper::initRead().
|
static |
Definition at line 25 of file qiiofhelpers.cpp.
References info, QIODevice::isSequential(), QIODevice::pos(), qMax(), QIODevice::read(), and QIODevice::seek().
Referenced by QIIOFHelper::initRead().
|
static |
Definition at line 161 of file qiiofhelpers.cpp.
References QImageIOHandler::TransformationFlip, QImageIOHandler::TransformationFlipAndRotate90, QImageIOHandler::TransformationMirror, QImageIOHandler::TransformationMirrorAndRotate90, QImageIOHandler::TransformationNone, QImageIOHandler::TransformationRotate180, QImageIOHandler::TransformationRotate270, and QImageIOHandler::TransformationRotate90.
|
static |
Definition at line 184 of file qiiofhelpers.cpp.
References qWarning, QImageIOHandler::TransformationFlip, QImageIOHandler::TransformationFlipAndRotate90, QImageIOHandler::TransformationMirror, QImageIOHandler::TransformationMirrorAndRotate90, QImageIOHandler::TransformationNone, QImageIOHandler::TransformationRotate180, QImageIOHandler::TransformationRotate270, and QImageIOHandler::TransformationRotate90.
Referenced by QTiffHandler::read(), QTiffHandler::write(), and QIIOFHelper::writeImage().
CGImageRef qt_mac_toCGImage | ( | const QImage & | qImage | ) |
Definition at line 47 of file qcoregraphics.mm.
References QImage::convertToFormat(), and QImage::Format_ARGB32_Premultiplied.
Referenced by QCoreGraphicsPaintEngine::drawImage(), QCoreGraphicsPaintEngine::drawPixmap(), qt_mac_draw_pattern(), and QIIOFHelper::writeImage().
QImage qt_mac_toQImage | ( | CGImageRef | image | ) |
Definition at line 79 of file qcoregraphics.mm.
References QImage::Format_ARGB32_Premultiplied, qt_mac_drawCGImage(), rect, ret, and Qt::transparent.
Referenced by QCocoaScreen::grabWindow(), QIOSScreen::grabWindow(), and QIIOFHelper::readImage().