◆ LoadFlag
This is the list of loading modes usable by DImg image plugins
Enumerator |
---|
LoadItemInfo | Load image information without image data.
Image info as width and height
|
LoadMetadata | Image metadata.
|
LoadICCData | Image color profile.
|
LoadImageData | Full image data.
|
LoadUniqueHash | Image unique hash.
|
LoadImageHistory | Image version history.
|
LoadPreview | Special mode to load reduced image data.
Load embedded preview image instead full size image
|
LoadAll | Helper to load all information, metadata and full image.
|
◆ DImgQImageLoader()
DigikamQImageDImgPlugin::DImgQImageLoader::DImgQImageLoader |
( |
DImg *const |
image | ) |
|
|
explicit |
◆ ~DImgQImageLoader()
DigikamQImageDImgPlugin::DImgQImageLoader::~DImgQImageLoader |
( |
| ) |
|
|
override |
◆ checkAllocation()
qint64 Digikam::DImgLoader::checkAllocation |
( |
qint64 |
fullSize | ) |
|
|
staticinherited |
◆ checkExifWorkingColorSpace()
bool Digikam::DImgLoader::checkExifWorkingColorSpace |
( |
| ) |
const |
|
protectedinherited |
◆ granularity()
int Digikam::DImgLoader::granularity |
( |
DImgLoaderObserver *const |
observer, |
|
|
int |
total, |
|
|
float |
progressSlice = 1.0F |
|
) |
| |
|
protectedvirtualinherited |
◆ hasAlpha()
bool DigikamQImageDImgPlugin::DImgQImageLoader::hasAlpha |
( |
| ) |
const |
|
overridevirtual |
◆ hasLoadedData()
bool Digikam::DImgLoader::hasLoadedData |
( |
| ) |
const |
|
virtualinherited |
◆ imageBitsDepth()
int Digikam::DImgLoader::imageBitsDepth |
( |
| ) |
const |
|
protectedinherited |
◆ imageBytesDepth()
int Digikam::DImgLoader::imageBytesDepth |
( |
| ) |
const |
|
protectedinherited |
◆ imageData()
unsigned char *& Digikam::DImgLoader::imageData |
( |
| ) |
|
|
protectedinherited |
References Digikam::DImgLoader::m_image.
Referenced by DigikamImageMagickDImgPlugin::DImgImageMagickLoader::load(), DigikamJPEGDImgPlugin::DImgJPEGLoader::load(), DigikamJPEG2000DImgPlugin::DImgJPEG2000Loader::load(), Digikam::DImgPGFLoader::load(), load(), DigikamTIFFDImgPlugin::DImgTIFFLoader::load(), Digikam::DImgHEIFLoader::save(), DigikamImageMagickDImgPlugin::DImgImageMagickLoader::save(), DigikamJPEGDImgPlugin::DImgJPEGLoader::save(), DigikamJPEG2000DImgPlugin::DImgJPEG2000Loader::save(), Digikam::DImgPGFLoader::save(), and DigikamTIFFDImgPlugin::DImgTIFFLoader::save().
◆ imageEmbeddedText()
QMap< QString, QString > & Digikam::DImgLoader::imageEmbeddedText |
( |
| ) |
const |
|
protectedinherited |
◆ imageGetAttribute()
QVariant Digikam::DImgLoader::imageGetAttribute |
( |
const QString & |
key | ) |
const |
|
protectedinherited |
◆ imageGetEmbbededText()
QString Digikam::DImgLoader::imageGetEmbbededText |
( |
const QString & |
key | ) |
const |
|
protectedinherited |
◆ imageHasAlpha()
bool Digikam::DImgLoader::imageHasAlpha |
( |
| ) |
const |
|
protectedinherited |
◆ imageHeight()
unsigned int & Digikam::DImgLoader::imageHeight |
( |
| ) |
|
|
protectedinherited |
References Digikam::DImgLoader::m_image.
Referenced by DigikamImageMagickDImgPlugin::DImgImageMagickLoader::load(), DigikamJPEGDImgPlugin::DImgJPEGLoader::load(), DigikamJPEG2000DImgPlugin::DImgJPEG2000Loader::load(), Digikam::DImgPGFLoader::load(), load(), DigikamTIFFDImgPlugin::DImgTIFFLoader::load(), DigikamRAWDImgPlugin::DImgRAWLoader::load(), Digikam::DImgHEIFLoader::save(), DigikamImageMagickDImgPlugin::DImgImageMagickLoader::save(), DigikamJPEGDImgPlugin::DImgJPEGLoader::save(), DigikamJPEG2000DImgPlugin::DImgJPEG2000Loader::save(), Digikam::DImgPGFLoader::save(), and DigikamTIFFDImgPlugin::DImgTIFFLoader::save().
◆ imageNumBytes()
quint64 Digikam::DImgLoader::imageNumBytes |
( |
| ) |
const |
|
protectedinherited |
◆ imageSetAttribute()
void Digikam::DImgLoader::imageSetAttribute |
( |
const QString & |
key, |
|
|
const QVariant & |
value |
|
) |
| |
|
protectedinherited |
References Digikam::DImgLoader::m_image, Digikam::DImg::setAttribute(), and value.
Referenced by DigikamImageMagickDImgPlugin::DImgImageMagickLoader::load(), DigikamJPEGDImgPlugin::DImgJPEGLoader::load(), DigikamJPEG2000DImgPlugin::DImgJPEG2000Loader::load(), Digikam::DImgPGFLoader::load(), load(), DigikamTIFFDImgPlugin::DImgTIFFLoader::load(), DigikamRAWDImgPlugin::DImgRAWLoader::load(), Digikam::DImgLoader::readMetadata(), DigikamImageMagickDImgPlugin::DImgImageMagickLoader::save(), DigikamJPEGDImgPlugin::DImgJPEGLoader::save(), DigikamJPEG2000DImgPlugin::DImgJPEG2000Loader::save(), Digikam::DImgPGFLoader::save(), save(), and DigikamTIFFDImgPlugin::DImgTIFFLoader::save().
◆ imageSetEmbbededText()
void Digikam::DImgLoader::imageSetEmbbededText |
( |
const QString & |
key, |
|
|
const QString & |
text |
|
) |
| |
|
protectedinherited |
◆ imageSetIccProfile()
void Digikam::DImgLoader::imageSetIccProfile |
( |
const IccProfile & |
profile | ) |
|
|
protectedinherited |
◆ imageSixteenBit()
bool Digikam::DImgLoader::imageSixteenBit |
( |
| ) |
const |
|
protectedinherited |
◆ imageWidth()
unsigned int & Digikam::DImgLoader::imageWidth |
( |
| ) |
|
|
protectedinherited |
References Digikam::DImgLoader::m_image.
Referenced by DigikamImageMagickDImgPlugin::DImgImageMagickLoader::load(), DigikamJPEGDImgPlugin::DImgJPEGLoader::load(), DigikamJPEG2000DImgPlugin::DImgJPEG2000Loader::load(), Digikam::DImgPGFLoader::load(), load(), DigikamTIFFDImgPlugin::DImgTIFFLoader::load(), DigikamRAWDImgPlugin::DImgRAWLoader::load(), Digikam::DImgHEIFLoader::save(), DigikamImageMagickDImgPlugin::DImgImageMagickLoader::save(), DigikamJPEGDImgPlugin::DImgJPEGLoader::save(), DigikamJPEG2000DImgPlugin::DImgJPEG2000Loader::save(), Digikam::DImgPGFLoader::save(), and DigikamTIFFDImgPlugin::DImgTIFFLoader::save().
◆ isReadOnly()
bool DigikamQImageDImgPlugin::DImgQImageLoader::isReadOnly |
( |
| ) |
const |
|
overridevirtual |
◆ load()
bool DigikamQImageDImgPlugin::DImgQImageLoader::load |
( |
const QString & |
filePath, |
|
|
DImgLoaderObserver *const |
observer |
|
) |
| |
|
overridevirtual |
Implements Digikam::DImgLoader.
References Digikam::DImgLoader::imageData(), Digikam::DImgLoader::imageHeight(), Digikam::DImgLoader::imageSetAttribute(), Digikam::DImgLoader::imageSetIccProfile(), Digikam::DImgLoader::imageWidth(), Digikam::DImgLoader::LoadICCData, Digikam::DImgLoader::loadingFailed(), Digikam::DImgLoader::m_loadFlags, Digikam::DImgLoader::new_failureTolerant(), Digikam::DImgLoaderObserver::progressInfo(), Digikam::DImgLoader::readMetadata(), and Digikam::RGB.
◆ loadingFailed()
void Digikam::DImgLoader::loadingFailed |
( |
| ) |
|
|
protectedinherited |
◆ new_failureTolerant() [1/6]
unsigned char * Digikam::DImgLoader::new_failureTolerant |
( |
quint64 |
w, |
|
|
quint64 |
h, |
|
|
uint |
typesPerPixel |
|
) |
| |
|
staticinherited |
◆ new_failureTolerant() [2/6]
template<typename Type >
static Type* Digikam::DImgLoader::new_failureTolerant |
( |
quint64 |
w, |
|
|
quint64 |
h, |
|
|
uint |
typesPerPixel |
|
) |
| |
|
staticinherited |
◆ new_failureTolerant() [3/6]
template<typename Type >
Q_INLINE_TEMPLATE Type* Digikam::DImgLoader::new_failureTolerant |
( |
quint64 |
w, |
|
|
quint64 |
h, |
|
|
uint |
typesPerPixel |
|
) |
| |
|
inherited |
Allows safe multiplication of requested pixel number and bytes per pixel, avoiding particularly 32 bits overflow and exceeding the size_t type
◆ new_failureTolerant() [4/6]
template<typename Type >
Q_INLINE_TEMPLATE Type* Digikam::DImgLoader::new_failureTolerant |
( |
size_t |
size | ) |
|
|
inherited |
◆ new_failureTolerant() [5/6]
unsigned char * Digikam::DImgLoader::new_failureTolerant |
( |
size_t |
unsecureSize | ) |
|
|
staticinherited |
◆ new_failureTolerant() [6/6]
template<typename Type >
static Type* Digikam::DImgLoader::new_failureTolerant |
( |
size_t |
unsecureSize | ) |
|
|
staticinherited |
◆ new_short_failureTolerant() [1/2]
unsigned short * Digikam::DImgLoader::new_short_failureTolerant |
( |
quint64 |
w, |
|
|
quint64 |
h, |
|
|
uint |
typesPerPixel |
|
) |
| |
|
staticinherited |
◆ new_short_failureTolerant() [2/2]
unsigned short * Digikam::DImgLoader::new_short_failureTolerant |
( |
size_t |
unsecureSize | ) |
|
|
staticinherited |
◆ purgeExifWorkingColorSpace()
void Digikam::DImgLoader::purgeExifWorkingColorSpace |
( |
| ) |
|
|
protectedinherited |
◆ readMetadata()
bool Digikam::DImgLoader::readMetadata |
( |
const QString & |
filePath | ) |
|
|
protectedvirtualinherited |
References Digikam::DImg::createHistoryImageId(), Digikam::HistoryImageId::Current, Digikam::DImageHistory::fromXml(), Digikam::DImgLoader::imageSetAttribute(), Digikam::DImgLoader::LoadImageHistory, Digikam::DImgLoader::LoadMetadata, Digikam::DImgLoader::LoadUniqueHash, Digikam::DImgLoader::m_image, Digikam::DImgLoader::m_loadFlags, Digikam::DImg::setItemHistory(), and Digikam::DImg::setMetadata().
Referenced by Digikam::DImgHEIFLoader::load(), DigikamImageMagickDImgPlugin::DImgImageMagickLoader::load(), DigikamJPEGDImgPlugin::DImgJPEGLoader::load(), DigikamJPEG2000DImgPlugin::DImgJPEG2000Loader::load(), Digikam::DImgPGFLoader::load(), load(), DigikamTIFFDImgPlugin::DImgTIFFLoader::load(), and DigikamRAWDImgPlugin::DImgRAWLoader::load().
◆ save()
bool DigikamQImageDImgPlugin::DImgQImageLoader::save |
( |
const QString & |
filePath, |
|
|
DImgLoaderObserver *const |
observer |
|
) |
| |
|
overridevirtual |
◆ saveMetadata()
bool Digikam::DImgLoader::saveMetadata |
( |
const QString & |
filePath | ) |
|
|
protectedvirtualinherited |
◆ setLoadFlags()
void Digikam::DImgLoader::setLoadFlags |
( |
LoadFlags |
flags | ) |
|
|
inherited |
◆ sixteenBit()
bool DigikamQImageDImgPlugin::DImgQImageLoader::sixteenBit |
( |
| ) |
const |
|
overridevirtual |
◆ storeColorProfileInMetadata()
void Digikam::DImgLoader::storeColorProfileInMetadata |
( |
| ) |
|
|
protectedinherited |
◆ m_image
DImg* Digikam::DImgLoader::m_image |
|
protectedinherited |
Referenced by Digikam::DImgLoader::checkExifWorkingColorSpace(), Digikam::DImgLoader::hasLoadedData(), Digikam::DImgLoader::imageBitsDepth(), Digikam::DImgLoader::imageBytesDepth(), Digikam::DImgLoader::imageData(), Digikam::DImgLoader::imageEmbeddedText(), Digikam::DImgLoader::imageGetAttribute(), Digikam::DImgLoader::imageGetEmbbededText(), Digikam::DImgLoader::imageHasAlpha(), Digikam::DImgLoader::imageHeight(), Digikam::DImgLoader::imageNumBytes(), Digikam::DImgLoader::imageSetAttribute(), Digikam::DImgLoader::imageSetEmbbededText(), Digikam::DImgLoader::imageSetIccProfile(), Digikam::DImgLoader::imageSixteenBit(), Digikam::DImgLoader::imageWidth(), Digikam::DImgLoader::loadingFailed(), DigikamRAWDImgPlugin::DImgRAWLoader::postProcess(), Digikam::DImgLoader::purgeExifWorkingColorSpace(), Digikam::DImgLoader::readMetadata(), DigikamImageMagickDImgPlugin::DImgImageMagickLoader::save(), DigikamJPEGDImgPlugin::DImgJPEGLoader::save(), DigikamJPEG2000DImgPlugin::DImgJPEG2000Loader::save(), save(), DigikamTIFFDImgPlugin::DImgTIFFLoader::save(), Digikam::DImgLoader::saveMetadata(), and Digikam::DImgLoader::storeColorProfileInMetadata().
◆ m_loadFlags
LoadFlags Digikam::DImgLoader::m_loadFlags |
|
protectedinherited |
The documentation for this class was generated from the following files: