JHOVE recognizes TIFF tag 41488, Focal Plane Resolution Unit (Exif
Private), which can have the values 1 (no unit), 2 (inch), and 3
(centimeter). Tag 37392 is also called Focal Plane Resolution Unit.
JHOVE defines both of these with the constant FOCALPLANERESOLUTIONUNIT
in two different classes (ExifIFD and TiffIFD respectively), so they
don't cause a compile-time collision. There's also an array of String
values for each of these, which are different.
There might be some place where the code is mistaking one for the other,
though I can't spot it at a quick glance. If the tag is 41488 and the
value is 4, that looks like an error in the file. Are you sure the tag
in question is 37392 and not 41488? If you can send me a file that
causes a problem, or submit a bug report on SourceForge, I could see
what JHOVE is actually doing.
On 7/9/13 7:52 AM, Dan Field wrote:
Hi, I'm trying to validate a TIFF from a Nikon D800E camera which, via the Adobe RAW plugin is generating a FocalPlaneResolutionUnit value of 4. This is being thrown back by TIFF-HUL as invalid yet from what I can see in the ISO standard doc cited in the documentation, values of 4 and 5 should be valid:
macdanosx:~ dof$ ./bin/jhove-1.10/jhove -c ./bin/jhove-1.10/conf/jhove.conf Desktop/arm04454.tif
Jhove (Rel. 1.9, 2013-06-10)
Date: 2013-07-09 12:36:27 BST
ReportingModule: TIFF-hul, Rel. 1.7 (2012-08-12)
LastModified: 2013-07-09 12:28:57 BST
Status: Well-Formed, but not valid
ErrorMessage: FocalPlaneResolutionUnit value out of range: 4
And the relevant part of ISO 12234-2:2001(E)
This tag encodes the unit of measurement for the FocalPlaneXResolution and FocalPlaneYResolution.
Tag Name = FocalPlaneResolutionUnit
Tag = 37392 (9210.H)
Type = SHORT
N = 1
Value = VALUE (possible values listed below)
Can anybody shed any light on this issue?
Gary McGath firstname.lastname@example.org