libs/libkdcraw/libkdcraw
kdcraw.cpp
Go to the documentation of this file.
258 bool KDcraw::loadFullImage(QImage& image, const QString& path, const RawDecodingSettings& settings)
350 bool KDcraw::extractRAWData(const QString& filePath, QByteArray& rawData, DcrawInfoContainer& identify, unsigned int shotSelect)
436 rawData.resize((int)(raw.imgdata.sizes.iwidth * raw.imgdata.sizes.iheight * raw.imgdata.idata.colors * sizeof(unsigned short)));
454 rawData.resize((int)(raw.imgdata.sizes.iwidth * raw.imgdata.sizes.iheight * sizeof(unsigned short)));
474 bool KDcraw::decodeHalfRAWImage(const QString& filePath, const RawDecodingSettings& rawDecodingSettings,
482 bool KDcraw::decodeRAWImage(const QString& filePath, const RawDecodingSettings& rawDecodingSettings,
bool halfSizeColorImage
Half-size color image decoding (twice as fast as "enableRAWQuality").
Definition: rawdecodingsettings.h:213
bool loadFromData(const uchar *data, int len, const char *format)
QString toUpper() const
Definition: kdcraw_p.h:55
bool save(const QString &fileName, const char *format, int quality) const
static bool loadHalfPreview(QImage &, LibRaw &)
static bool loadEmbeddedPreview(QByteArray &, LibRaw &)
int callbackForLibRaw(void *data, enum LibRaw_progress p, int iteration, int expected)
static void fillIndentifyInfo(LibRaw *const raw, DcrawInfoContainer &identify)
bool sixteenBitsImage
Turn on RAW file decoding in 16 bits per color per pixel instead 8 bits.
Definition: rawdecodingsettings.h:207
RawDecodingSettings m_rawDecodingSettings
The settings container used to perform RAW pictures decoding.
Definition: kdcraw.h:237
QString & remove(int position, int n)
void setProgress(double value)
static int librawUseGomp()
Return true or false if LibRaw use parallel demosaicing or not (libgomp support). ...
Definition: kdcraw.cpp:530
static int librawUseGPL3DemosaicPack()
Return true or false if LibRaw use Demosaic Pack GPL3 or not.
Definition: kdcraw.cpp:569
static int rawFilesVersion()
Returns a version number for the list of supported RAW file types.
Definition: kdcraw.cpp:509
void resize(int size)
void append(const T &value)
static const char * rawFiles()
Return the string of all RAW file type mime supported.
Definition: kdcraw.cpp:498
===========================================================This file is a part of digiKam project htt...
bool isEmpty() const
static bool loadFullImage(QImage &image, const QString &path, const RawDecodingSettings &settings=RawDecodingSettings())
Get the full decoded RAW picture.
Definition: kdcraw.cpp:258
static const KCatalogLoader loader("libkdcraw")
virtual bool open(QFlags< QIODevice::OpenModeFlag > flags)
const QByteArray & data() const
bool exists() const
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:494
bool contains(QChar ch, Qt::CaseSensitivity cs) const
===========================================================This file is a part of digiKam project htt...
virtual bool checkToCancelWaitingData()
Re-implement this method to control the cancelisation of loop witch wait data from RAW decoding proce...
Definition: kdcraw.cpp:489
static QStringList rawFilesList()
Return the list of all RAW file type mime supported, as a QStringList, without wildcard and suffix do...
Definition: kdcraw.cpp:503
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:350
static bool rawFileIdentify(DcrawInfoContainer &identify, const QString &path)
Get the camera settings witch have taken RAW file.
Definition: kdcraw.cpp:313
QString suffix() const
bool loadFromLibraw(const QString &filePath, QByteArray &imageData, int &width, int &height, int &rgbmax)
Definition: kdcraw.h:55
static int librawUseGPL2DemosaicPack()
Return true or false if LibRaw use Demosaic Pack GPL2 or not.
Definition: kdcraw.cpp:556
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:474
char * data()
uchar * bits()
QString fromLatin1(const char *str, int size)
void cancel()
To cancel 'decodeHalfRAWImage' and 'decodeRAWImage' methods running in a separate thread...
Definition: kdcraw.cpp:78
static bool loadRawPreview(QImage &image, const QString &path)
Get the preview of RAW picture as a QImage.
Definition: kdcraw.cpp:83
static int librawUseRawSpeed()
Return true or false if LibRaw use RawSpeed codec or not.
Definition: kdcraw.cpp:543
int size() const
static bool loadHalfPreview(QImage &image, const QString &path)
Get the half decoded RAW picture.
Definition: kdcraw.cpp:155
static QStringList supportedCamera()
Provide a list of supported RAW Camera name.
Definition: kdcraw.cpp:514
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:482
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:114
QByteArray encodeName(const QString &fileName)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.