jhove icon indicating copy to clipboard operation
jhove copied to clipboard

Trouble with Unknown TIFF IFD Tags

Open RvanVeenendaal opened this issue 1 year ago • 1 comments

Sometimes JHOVE reports TIFF-HUL-12 "Unknown TIFF IFD Tag" messages. The latest versions of JHOVE seem to have a problem showing the unknown tag's number. There are additional characters at the end of the reported tag number string. Compare the bold InfoMessages below, for JHOVE 1.28.0, 1.26.1 and 1.20.1. For reproduction, use the file from https://github.com/openpreserve/jhove/issues/657.

Issue(s):

  1. JHOVE should not report the additional characters at the end of the reported tag number string
  2. Why does JHOVE 1.28.0 report the tags in a different order than the older versions?

JHOVE output for 1.28.0, 1.26.1 and 1.20.1:

  • Jhove (Rel. 1.28.0, 2023-05-18) Date: 2023-06-01 16:32:48 CEST RepresentationInformation: c:\temp\NL-HaNA_1.05.11.13_230_0002.tif ReportingModule: TIFF-hul, Rel. 1.9.4 (2023-03-16) LastModified: 2023-06-01 16:15:47 CEST Size: 36732635 Format: TIFF Version: 6.0 Status: Well-Formed and valid SignatureMatches: TIFF-hul InfoMessage: Ongekend TIFF IFD Tag: 40091├é┬á ID: TIFF-HUL-12 Offset: 450 InfoMessage: Ongekend TIFF IFD Tag: 40092├é┬á ID: TIFF-HUL-12 Offset: 462 InfoMessage: Ongekend TIFF IFD Tag: 40093├é┬á (etc.)

  • Jhove (Rel. 1.26.1, 2022-07-14) Date: 2023-06-01 16:21:38 CEST RepresentationInformation: c:\temp\NL-HaNA_1.05.11.13_230_0002.tif ReportingModule: TIFF-hul, Rel. 1.9.3 (2022-04-22) LastModified: 2023-06-01 16:15:47 CEST Size: 36732635 Format: TIFF Version: 6.0 Status: Well-Formed and valid SignatureMatches: TIFF-hul InfoMessage: Ongekend TIFF IFD Tag: 36868├é┬á ID: TIFF-HUL-12 Offset: 36022 InfoMessage: Ongekend TIFF IFD Tag: 37510├é┬á ID: TIFF-HUL-12 Offset: 36042 InfoMessage: Ongekend TIFF IFD Tag: 40091├é┬á (etc.)

  • Jhove (Rel. 1.20.1, 2018-03-29) Date: 2023-06-01 16:25:14 CEST RepresentationInformation: c:\temp\NL-HaNA_1.05.11.13_230_0002.tif ReportingModule: TIFF-hul, Rel. 1.8 (2017-05-11) LastModified: 2023-06-01 16:15:47 CEST Size: 36732635 Format: TIFF Version: 6.0 Status: Well-Formed and valid SignatureMatches: TIFF-hul InfoMessage: Unknown TIFF IFD tag: 36868 Offset: 36022 InfoMessage: Unknown TIFF IFD tag: 37510 Offset: 36042 InfoMessage: Unknown TIFF IFD tag: 40091 (etc.)

RvanVeenendaal avatar Jun 01 '23 14:06 RvanVeenendaal