DNG: apply the BaselineExposure tag only for float DNGs

This commit is contained in:
Alberto Griggio
2018-11-20 13:37:23 +01:00
parent e0b4f85e09
commit ac21918094

View File

@@ -503,6 +503,10 @@ int RawImage::loadRaw (bool loadData, unsigned int imageNum, bool closeFile, Pro
fseek (ifp, data_offset, SEEK_SET);
(this->*load_raw)();
if (!float_raw_image) { // apply baseline exposure only for float DNGs
RT_baseline_exposure = 0;
}
if (plistener) {
plistener->setProgress(0.9 * progressRange);
}