KDcraw
kdcraw.h
72 /** Get the embedded JPEG preview image from RAW picture as a QByteArray which will include Exif Data.
77 /** Get the embedded JPEG preview image from RAW picture as a QImage. This is fast and non cancelable
82 /** Get the embedded JPEG preview image from RAW image passed in QBuffer as a QByteArray which will include Exif Data.
92 /** Get the half decoded RAW picture as JPEG data in QByteArray. This is slower than loadEmbeddedPreview()
97 /** Get the half decoded RAW picture passed in QBuffer as JPEG data in QByteArray. This is slower than loadEmbeddedPreview()
105 static bool loadFullImage(QImage& image, const QString& path, const RawDecodingSettings& settings = RawDecodingSettings());
158 /** Extract Raw image data undemosaiced and without post processing from 'filePath' picture file.
168 bool extractRAWData(const QString& filePath, QByteArray& rawData, DcrawInfoContainer& identify, unsigned int shotSelect=0);
184 bool decodeHalfRAWImage(const QString& filePath, const RawDecodingSettings& rawDecodingSettings,
229 /** Re-implement this method to control the pseudo progress value during RAW decoding (when dcraw run with an
230 internal loop without feedback) with your proper environment. By default, this method does nothing.
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 bool loadRawPreview(QByteArray &imgData, const QBuffer &inBuffer)
Get the preview of RAW picture passed in QBuffer as a QByteArray holding JPEG data.
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 bool loadRawPreview(QByteArray &imgData, const QString &path)
Get the preview of RAW picture as a QByteArray holding JPEG data.
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
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:06 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:06 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.