Hi,
I'm using Exiftool 10.36 (Mac Version) to extract, in PHP output, image metadata from TIFF and JPEG files.
The command is: "exiftool -php -n $img".
Why, when -n (numeric values) option is specified, the [resolutionUnit] is expressed in different ways?
For TIFF is: [ResolutionUnit] => 2
For JPEG is: [ResolutionUnit] => 1
Switching to verbose mode the "inches" value is exported for each format.
Thanks,
A.
It's because in a JPG, 1 means inches and in a TIFF, 2 means inches :)
Yes. As Hayo mentioned the EXIF and JFIF encodings of ResolutionUnit are different.
- Phil
Thank you. :-[