ExifTool Forum

ExifTool => Developers => Topic started by: herb on March 07, 2019, 06:31:08 AM

Title: Question to names of MakerNotes
Post by: herb on March 07, 2019, 06:31:08 AM
Hello Phil,

I work with Exiftool 11.30 on a Win7 system.

The most images I work with are images from Olympus cameras.
Images from older camera models have makernotes of type MakerNoteOlympus and images of newer models have it of type MakerNoteOlympus2.


In order to display all makernote tags (in my case of jpg images from Olympus) I use one of the following commands:
exiftool.exe -makernotes:all image.jpg
exiftool.exe -olympus:all    image.jpg


Now I believe to remember - no, I am sure - that a long time ago for images of newer cameras I had to use
exiftool.exe -olympus2:all   image.jpg
in order to display the makernotes tags.
But this does not work today: no tag and no error message is displayed.

Can someone tell me the full story about.
Where there really changes, because I do not remember to have read about.

Why do the following commands not work for display?
exiftool.exe -makernoteolympus:all   image.jpg
exiftool.exe -makernoteolympus2:all  image.jpg


Where is tag (group) name "olympus" defined?


Then I tried to create *.exif files that contain only the makernotes with
exiftool.exe -tagsfromfile source.jpg -makernotes source.exif
which worked properly.

But when I tried to use -makernoteolympus(2) instead of -makernotes I had to use the proper name -makernoteolympus or -makernoteolympus2.

Why is there such a difference between display and copy of makernotes?

Thanks in advance
Best regards
Herb
Title: Re: Question to names of MakerNotes
Post by: Phil Harvey on March 07, 2019, 07:00:21 AM
Hi Herb,

Quote from: herb on March 07, 2019, 06:31:08 AM
Now I believe to remember - no, I am sure - that a long time ago for images of newer cameras I had to use
exiftool.exe -olympus2:all   image.jpg
in order to display the makernotes tags.

I don't think this was ever the case.

QuoteWhy do the following commands not work for display?
exiftool.exe -makernoteolympus:all   image.jpg
exiftool.exe -makernoteolympus2:all  image.jpg

Because these are not group names.  They are tag names.

QuoteWhere is tag (group) name "olympus" defined?

This group name is taken from the module name for the tag table %Image::ExifTool::Olympus::Main defined in Olympus.pm.

QuoteThen I tried to create *.exif files that contain only the makernotes with
exiftool.exe -tagsfromfile source.jpg -makernotes source.exif
which worked properly.

But when I tried to use -makernoteolympus(2) instead of -makernotes I had to use the proper name -makernoteolympus or -makernoteolympus2.

Why is there such a difference between display and copy of makernotes?

See FAQ 8 (https://exiftool.org/faq.html#Q8)

- Phil
Title: Re: Question to names of MakerNotes
Post by: herb on March 07, 2019, 11:26:40 AM
Hello Phil,

thanks for your quick and detailed reply.
QuoteI don't think this was ever the case.
Now I am a little bit confused. Maybe I mixed it with the names used for copy of makernotes.

Please allow an additional question:
QuoteThis group name is taken from the module name for the tag table %Image::ExifTool::Olympus::Main defined in Olympus.pm.
Is this rule valid for all makernote groupnames?
I don't think so, because we have groupname "Leica" but no modul Leica.pm.
In other words: How can I get a list of all valid makernote groupnames?

Best regards
Herb
Title: Re: Question to names of MakerNotes
Post by: Phil Harvey on March 07, 2019, 11:39:31 AM
Quote from: herb on March 07, 2019, 11:26:40 AM
QuoteThis group name is taken from the module name for the tag table %Image::ExifTool::Olympus::Main defined in Olympus.pm.
Is this rule valid for all makernote groupnames?
I don't think so, because we have groupname "Leica" but no modul Leica.pm.
In other words: How can I get a list of all valid makernote groupnames?

The default is the module name, but it may be set differently in the GROUPS definition of the table.  However, this may be overridden on a per tag basis via the Groups element in the tag definition.

There is no way to easily get a list of all valid makernote group names.

- Phil
Title: Re: Question to names of MakerNotes
Post by: herb on March 08, 2019, 06:51:47 AM
Hello Phil,

thanks again for your help.

Best regards
Herb