KDcraw
kdcraw.cpp
231bool KDcraw::loadFullImage(QImage& image, const QString& path, const RawDecodingSettings& settings)
323bool KDcraw::extractRAWData(const QString& filePath, QByteArray& rawData, DcrawInfoContainer& identify, unsigned int shotSelect)
413 rawData.resize((int)(raw.imgdata.sizes.iwidth * raw.imgdata.sizes.iheight * raw.imgdata.idata.colors * sizeof(unsigned short)));
431 rawData.resize((int)(raw.imgdata.sizes.iwidth * raw.imgdata.sizes.iheight * sizeof(unsigned short)));
451bool KDcraw::decodeHalfRAWImage(const QString& filePath, const RawDecodingSettings& rawDecodingSettings,
459bool KDcraw::decodeRAWImage(const QString& filePath, const RawDecodingSettings& rawDecodingSettings,
A container for RAW image information.
Definition dcrawinfocontainer.h:27
void cancel()
To cancel 'decodeHalfRAWImage' and 'decodeRAWImage' methods running in a separate thread.
Definition kdcraw.cpp:51
bool extractRAWData(const QString &filePath, QByteArray &rawData, DcrawInfoContainer &identify, unsigned int shotSelect=0)
Extract Raw image data undemosaiced and without post processing from 'filePath' picture file.
Definition kdcraw.cpp:323
static bool loadRawPreview(QImage &image, const QString &path)
Get the preview of RAW picture as a QImage.
Definition kdcraw.cpp:56
static int rawFilesVersion()
Returns a version number for the list of supported RAW file types.
Definition kdcraw.cpp:486
virtual bool checkToCancelWaitingData()
Re-implement this method to control the cancelisation of loop witch wait data from RAW decoding proce...
Definition kdcraw.cpp:466
RawDecodingSettings m_rawDecodingSettings
The settings container used to perform RAW pictures decoding.
Definition kdcraw.h:219
virtual void setWaitingDataProgress(double value)
Re-implement this method to control the pseudo progress value during RAW decoding (when dcraw run wit...
Definition kdcraw.cpp:471
static QStringList supportedCamera()
Provide a list of supported RAW Camera name.
Definition kdcraw.cpp:491
static bool rawFileIdentify(DcrawInfoContainer &identify, const QString &path)
Get the camera settings witch have taken RAW file.
Definition kdcraw.cpp:286
static int librawUseGPL3DemosaicPack()
Return true or false if LibRaw use Demosaic Pack GPL3 or not.
Definition kdcraw.cpp:546
static const char * rawFiles()
Return the string of all RAW file type mime supported.
Definition kdcraw.cpp:475
static bool loadFullImage(QImage &image, const QString &path, const RawDecodingSettings &settings=RawDecodingSettings())
Get the full decoded RAW picture.
Definition kdcraw.cpp:231
static int librawUseGomp()
Return true or false if LibRaw use parallel demosaicing or not (libgomp support).
Definition kdcraw.cpp:507
static QStringList rawFilesList()
Return the list of all RAW file type mime supported, as a QStringList, without wildcard and suffix do...
Definition kdcraw.cpp:480
static int librawUseGPL2DemosaicPack()
Return true or false if LibRaw use Demosaic Pack GPL2 or not.
Definition kdcraw.cpp:533
static bool loadHalfPreview(QImage &image, const QString &path)
Get the half decoded RAW picture.
Definition kdcraw.cpp:128
static int librawUseRawSpeed()
Return true or false if LibRaw use RawSpeed codec or not.
Definition kdcraw.cpp:520
bool decodeHalfRAWImage(const QString &filePath, const RawDecodingSettings &rawDecodingSettings, QByteArray &imageData, int &width, int &height, int &rgbmax)
Extract a small size of decode RAW data from 'filePath' picture file using 'rawDecodingSettings' sett...
Definition kdcraw.cpp:451
bool decodeRAWImage(const QString &filePath, const RawDecodingSettings &rawDecodingSettings, QByteArray &imageData, int &width, int &height, int &rgbmax)
Extract a full size of RAW data from 'filePath' picture file using 'rawDecodingSettings' settings.
Definition kdcraw.cpp:459
static bool loadEmbeddedPreview(QByteArray &imgData, const QString &path)
Get the embedded JPEG preview image from RAW picture as a QByteArray which will include Exif Data.
Definition kdcraw.cpp:87
bool halfSizeColorImage
Half-size color image decoding (twice as fast as "enableRAWQuality").
Definition rawdecodingsettings.h:185
bool sixteenBitsImage
Turn on RAW file decoding in 16 bits per color per pixel instead 8 bits.
Definition rawdecodingsettings.h:179
Q_SCRIPTABLE QString camera()
const QByteArray & data() const const
virtual bool open(OpenMode flags) override
char * data()
void resize(qsizetype newSize, char c)
qsizetype size() const const
QByteArray encodeName(const QString &fileName)
bool exists(const QString &path)
QString suffix() const const
Format_ARGB32
uchar * bits()
bool loadFromData(QByteArrayView data, const char *format)
bool save(QIODevice *device, const char *format, int quality) const const
WriteOnly
QString & append(QChar ch)
bool contains(QChar ch, Qt::CaseSensitivity cs) const const
QString fromLatin1(QByteArrayView str)
QString fromUtf8(QByteArrayView str)
bool isEmpty() const const
QString & remove(QChar ch, Qt::CaseSensitivity cs)
QString toUpper() const const
list of RAW file extensions supported by libraw
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.