Inconsistency of showing LensType between Olympus and other cameras

Started by govage, March 13, 2017, 10:43:12 AM

Previous topic - Next topic

govage

There is an inconsistency of showing LensType for Olympus and other cameras. For Olympus this data is shown in hex format, whereas for other cameras this data is shown in decimal format. I mean this command:
exiftool -n -LensType <path to RAW file>


Phil Harvey

This is because the Olympus LensType values make more sense in hex.

These were in decimal for ExifTool versions before 9.15, but this was changed to hex as more was learned about Olympus lenses.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

govage


Phil Harvey

You can override the tag definition or create a new Composite tag to show whatever you want.  See the sample config file for examples of how to do this.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

govage

Thanks for info.
It would be nice to have an argument to force showing tag values in special format: hex, decimal, rational, string, etc.

Phil Harvey

An option like this would get very complex, and you would likely want different formats for different tags.  Although user-defined tags are a bother, they already give you the power to do this (and more).

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).