KImageFormats
hdr.cpp
176 * the image is stored in column order rather than row order, that is, it is rotated by 90 degrees.
177 * The reader can convince themselves that the 8 combinations cover all the possible image orientations
180 QRegularExpression resolutionRegExp(QStringLiteral("([+\\-][XY])\\s+([0-9]+)\\s+([+\\-][XY])\\s+([0-9]+)\n"));
183 qCDebug(HDRPLUGIN) << "Invalid HDR file, the first line after the header didn't have the expected format:" << line;
309 qCDebug(HDRPLUGIN) << "Couldn't create image with size" << width << height << "and format RGB32";
360 qCDebug(HDRPLUGIN) << "Line of pixels had width" << (image[2] << 8 | image[3]) << "instead of" << width;
418 // By setting the linear color space, programs that support profiles display HDR files as in GIMP and Photoshop.
511QImageIOPlugin::Capabilities HDRPlugin::capabilities(QIODevice *device, const QByteArray &format) const
Q_SCRIPTABLE Q_NOREPLY void start()
KCOREADDONS_EXPORT Result match(QStringView pattern, QStringView str)
QFlags< Capability > Capabilities
KIOCORE_EXPORT QStringList list(const QString &fileClass)
KGuiItem ok()
char * data()
bool isEmpty() const const
QByteArray mid(qsizetype pos, qsizetype len) const const
void resize(qsizetype newSize, char c)
qsizetype size() const const
QByteArray trimmed() const const
SRgbLinear
bool atEnd() const const
QIODevice * device() const const
Format
bool isNull() const const
uchar * scanLine(int i)
void setColorSpace(const QColorSpace &colorSpace)
void setText(const QString &key, const QString &text)
TransformationNone
void setDevice(QIODevice *device)
void setFormat(const QByteArray &format)
Capabilities
bool isOpen() const const
bool isReadable() const const
QByteArray peek(qint64 maxSize)
QByteArray readLine(qint64 maxSize)
void rollbackTransaction()
void startTransaction()
void ungetChar(char c)
const_reference at(qsizetype i) const const
QList< T > mid(qsizetype pos, qsizetype length) const const
qsizetype size() const const
QLocale c()
double toDouble(QStringView s, bool *ok) const const
float toFloat(QStringView s, bool *ok) const const
int height() const const
int width() const const
QString fromLatin1(QByteArrayView str)
QString fromUtf8(QByteArrayView str)
bool isEmpty() const const
QString trimmed() const const
QVariant fromValue(T &&value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:57:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:57:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.