Skip Menu |

This queue is for tickets about the Image-ExifTool CPAN distribution.

Report information
The Basics
Id: 17793
Status: rejected
Priority: 0/
Queue: Image-ExifTool

People
Owner: Nobody in particular
Requestors: tuzen [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 6.00
Fixed in: (no value)



Subject: unexpected FocalPlaneResolutionUnit from my jpegs with -b
I am using WinXP SP2 & ActiveState v5.6.1 build 630. C:>exiftool.pl -b -EXIF:FocalPlaneResolutionUnit mytest.jpg results: 25.4 expected: 2 I've read this value should be a 2 or 3, and another tool confirms I should expect 2. Without the -b switch, exiftool reports inches for all these same jpegs, as expected. Thanks! -Brian
Hi Brian, This is actually done on purpose. A conversion is applied to the FocalPlaneResolutionUnit value for convenience. This conversion applies even to the -b output. The lookup is as follows: 1 => 25.4 # none 2 => 25.4 # inches 3 => 10 # cm 4 => 1 # mm 5 => 0.001 # um The reason for this conversion is that it provides a simple multiplication factor to convert the values to mm. You can see the raw value using the -v option, and it can be extracted in that form using the API, but not via the exiftool command-line interface. I know this is a bit quirky, so if you still consider this a bug we can discuss it further. But for now I'm putting this in the 'rejected' pile. (no offense.)