Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qimagewriter.cpp File Reference

(76ecff6aebb35f4e39439aab8d18d828c3c8a1fd)

#include "qimagewriter.h"
#include <qbytearray.h>
#include <qfile.h>
#include <qfileinfo.h>
#include <qimage.h>
#include <qimageiohandler.h>
#include <qset.h>
#include <qvariant.h>
#include <qcoreapplication.h>
#include <private/qfactoryloader_p.h>
#include <private/qbmphandler_p.h>
#include <private/qppmhandler_p.h>
#include <private/qxbmhandler_p.h>
#include <private/qxpmhandler_p.h>
#include <private/qpnghandler_p.h>
#include <private/qimagereaderwriterhelpers_p.h>
#include <algorithm>
+ Include dependency graph for qimagewriter.cpp:

Go to the source code of this file.

Classes

class  QImageWriterPrivate
 

Functions

static QImageIOHandlercreateWriteHandlerHelper (QIODevice *device, const QByteArray &format)
 
void qt_imageTransform (QImage &src, QImageIOHandler::Transformations orient)
 

Function Documentation

◆ createWriteHandlerHelper()

static QImageIOHandler * createWriteHandlerHelper ( QIODevice * device,
const QByteArray & format )
static

Definition at line 101 of file qimagewriter.cpp.

References QImageIOPlugin::CanWrite, QImageIOPlugin::capabilities(), QImageIOPlugin::create(), device, QBmpHandler::DibFormat, file, QFile::fileName(), form, QString::fromLatin1(), i, QGraphicsLayoutItem::isEmpty(), keyMap, QImageReaderWriterHelpers::pluginLoader(), QImageIOHandler::setDevice(), QImageIOHandler::setFormat(), QImageIOHandler::setOption(), QImageIOHandler::SubType, QFileInfo::suffix(), QString::toLatin1(), and QString::toLower().

Referenced by QImageWriterPrivate::canWriteHelper(), and QImageWriter::supportsOption().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qt_imageTransform()

void qt_imageTransform ( QImage & src,
QImageIOHandler::Transformations orient )
extern

Definition at line 6410 of file qimage.cpp.