Hi. I am using exiftool, and cannot wrap my head around an issue:
root@red:~# exiftool -"*resolution*" -n /mnt/saga/Storage/0003/00003569.jpg
X Resolution : 72
Y Resolution : 72
Resolution Unit : 2
root@red:~# exiftool -"*resolution*" /mnt/saga/Storage/0003/00003569.jpg
X Resolution : 72
Y Resolution : 72
Resolution Unit : inches
root@red:~# exiftool -"*resolution*" -n /mnt/saga/Storage/0297/00297100.jpg
Resolution Unit : 2
X Resolution : 28
Y Resolution : 28
root@red:~# exiftool -"*resolution*" /mnt/saga/Storage/0297/00297100.jpg
Resolution Unit : cm
X Resolution : 28
Y Resolution : 28
root@red:~#
this is the same on both windows and macOS (both downloaded binary's) as well as build on Linux
Version: 11.65
As you can see, when using the -n option, I get the same output (2), but when I am not, I get different output (inches/cm)
Do anybody know what's going on?
Interesting, can you post the images that exhibit this behaviour?
This might be a FAQ #3 (https://exiftool.org/faq.html#Q3) in that there are duplicate ResolutionUnit values and the tag gets filled differently depend upon whether the -n (printConv) option (https://exiftool.org/exiftool_pod.html#n---printConv) is used or not.
Try
exiftool -g1 -a -s -"*resolution*" <File>
on one of the files to see the full scope of the data.