XMP Auxiliary - Approximate Focus Distance decoded value

Started by blue-j, March 18, 2024, 02:47:18 PM

Previous topic - Next topic

blue-j

After some serious research, I've come to agree with the determination of this post:

https://www.uglyhedgehog.com/t-343636-1.html#5767274

Hereby and henceforth, i propose that for the value of "4294967295" in xmp-aux approximatefocusdistance be decoded as "Infinity."  that value is very common.

what say ye?

- J

Phil Harvey

OK.  I'll do that.  Note that the more natural way to store infinity in a rational value is 1/0, which is what ExifTool writes if you set the value to "inf".  But I'll add a special case for 4294967295 to be converted to/from "infinity".

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