ExifTool Forum

ExifTool => Developers => Topic started by: user2014 on March 24, 2020, 01:07:42 PM

Title: MakerNotes decisions
Post by: user2014 on March 24, 2020, 01:07:42 PM
Hello,

in ExifIFD is the tag 0x927c - the offset to the MakerNotes.
But how do you decide if these are Canon MakerNotes or Nikon or Panasonic or ...
Is the decision based on some other tag?

And inside e.g. Canon MakerNotes how do you decide which CanonCameraInfoXXXX to use ? Maybe based on tag CanonModelID ?

Thank you
Bye
Erwin
Title: Re: MakerNotes decisions
Post by: Phil Harvey on March 24, 2020, 01:13:25 PM
Hi Erwin,

See the Condition statements here (https://github.com/exiftool/exiftool/blob/master/lib/Image/ExifTool/MakerNotes.pm).

- Phil
Title: Re: MakerNotes decisions
Post by: user2014 on March 25, 2020, 02:01:56 AM
Hi Phil,
thanks for the link - well ....

I have pictures from a lot of different cameras.
In my little application I'd like to show all VALID tags of a picture.
Not only the tags with values - also tags which are not used / have no values (if writable with a Text box).
So there are a lot of  tags (e.g. in the MakerNotes, ... ) depending on the camera.
I thought there is an easy way to find all the corresponding valid tags for a picture / camera (from -listx).

Is there another way ?
Maybe a command line option getting all valid tags used and unused from a given picture / camera ?

Thanks
Erwin
Title: Re: MakerNotes decisions
Post by: Phil Harvey on March 25, 2020, 07:22:01 AM
Hi Erwin,

ExifTool will extract all known tags for a picture with the -a option.  You can add -u to also extract unknown tags from some formats, or -U to extract some unknown tags from binary data.

There is no way to provide a list of all valid tags for a given camera.  I do not think it would be possible to do this without a LOT of testing with each camera.

- Phil
Title: Re: MakerNotes decisions
Post by: greybeard on March 25, 2020, 03:10:49 PM
I was waiting to see your response Phil.

Having spent a lot of time looking at the output of Fuji cameras each model has a different set of possible tags within the FUJIFILM maker notes.

And these can change with a firmware release.