diff options
author | Hubert Figuière <hub@figuiere.net> | 2020-08-04 23:47:51 -0400 |
---|---|---|
committer | Hubert Figuière <hub@figuiere.net> | 2020-08-05 23:32:39 -0400 |
commit | 06b01c17afbbd3eb4e54748ed285d6f3ef054996 (patch) | |
tree | 1ff7363fe90fca74b352c79fe151d2debb450ab5 /tools | |
parent | c4a3a238d380cf51ec9519526a07c9a61e91801c (diff) |
exifdump: Display the makernote ID
Diffstat (limited to 'tools')
-rw-r--r-- | tools/exifdump.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/exifdump.cpp b/tools/exifdump.cpp index a1c7ad0..9742eb1 100644 --- a/tools/exifdump.cpp +++ b/tools/exifdump.cpp @@ -115,6 +115,10 @@ public: m_out << boost::format("%1% - %2% entries\n") % map_ifd_type(ifd_type) % or_ifd_count_tags(ifd); last_ifd_type = ifd_type; + const char* makernote_id = or_ifd_get_makernote_id(ifd); + if (makernote_id) { + m_out << boost::format("MakerNote type %1%\n") % makernote_id; + } } const char* tagname = or_ifd_get_tag_name(ifd, id); uint32_t count = or_metavalue_get_count(value); |