Updated frame handling with any type of hierarchy (see #4008)
Images can now be detected in nested IFDs or as root IFDs.
This commit is contained in:
@@ -697,7 +697,8 @@ DCPProfile::DCPProfile(const Glib::ustring& filename) :
|
||||
}
|
||||
|
||||
ExifManager exifManager(file, nullptr, true);
|
||||
std::unique_ptr<TagDirectory> tagDir(exifManager.parseTIFF(false));
|
||||
exifManager.parseTIFF(false);
|
||||
std::unique_ptr<TagDirectory> tagDir(exifManager.roots.at(0));
|
||||
|
||||
Tag* tag = tagDir->getTag(toUnderlying(TagKey::CALIBRATION_ILLUMINANT_1));
|
||||
light_source_1 =
|
||||
|
||||
Reference in New Issue
Block a user