Get lens name from Nikon Z series images
This commit is contained in:
parent
294c6167ae
commit
533a05cd9d
@ -320,7 +320,9 @@ FramesData::FramesData(const Glib::ustring &fname, time_t ts) :
|
|||||||
//orientation = pos->print(&exif);
|
//orientation = pos->print(&exif);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (find_tag(Exiv2::lensName)) {
|
if (find_exif_tag("Exif.NikonLd4.LensIDNumber")) {
|
||||||
|
lens = validateUft8(pos->print(&exif));
|
||||||
|
} else if (find_tag(Exiv2::lensName)) {
|
||||||
lens = validateUft8(pos->print(&exif));
|
lens = validateUft8(pos->print(&exif));
|
||||||
auto p = pos;
|
auto p = pos;
|
||||||
if (find_exif_tag("Exif.CanonFi.RFLensType") && find_exif_tag("Exif.Canon.LensModel")) {
|
if (find_exif_tag("Exif.CanonFi.RFLensType") && find_exif_tag("Exif.Canon.LensModel")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user