Minor: can ExifToolVersion be rendered as a string (at least in the -json view)?

Started by mceachen, April 11, 2023, 12:57:00 PM

Previous topic - Next topic

mceachen

ExifToolVersion has always been represented by a float, but that doesn't work well for versions ending in a zero (like version 12.60). When the JSON is parsed, the "12.60" becomes "12.6".

Alternatively--is there a "render this tag as a string" argument you can make (similar to the "render this tag as a number" assertion like "-GPSAltitude#")?

Phil Harvey

As far as the version goes, 12.60 is the same as 12.6

There is no option to change the JSON output variable types.

- 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 ($).