Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIFF Tag 41728 wrong value expected, file declared not well-formed #900

Open
jens-st opened this issue Feb 16, 2024 · 0 comments
Open

TIFF Tag 41728 wrong value expected, file declared not well-formed #900

jens-st opened this issue Feb 16, 2024 · 0 comments
Assignees
Labels
bug A product defect that needs fixing
Milestone

Comments

@jens-st
Copy link

jens-st commented Feb 16, 2024

This was already mentioned in #767 (closed) but it is not yet fixed in version 1.28.0 (TIFF-HUL 1.9.4).

We process sometimes images with EXIF tag FileSource (41728 / 0xA300) set. Jhove expects the value 7 and declares the file Not well-formed if not found. This is incorrect AFAIK, the specification default is 3 (to indicate a digital camera as source). Other values are also valid indicating a different file sources.

$> jhove -m TIFF-hul 00001442.tif 
Jhove (Rel. 1.28.0, 2023-05-18)
 Date: 2024-02-16 11:03:06 MEZ
 RepresentationInformation: 00001442.tif
  ReportingModule: TIFF-hul, Rel. 1.9.4 (2023-03-16)
  LastModified: 2024-02-16 10:05:53 MEZ
  Size: 10254812
  Format: TIFF
  Status: Not well-formed
  SignatureMatches:
   TIFF-hul
  ErrorMessage: Type mismatch for tag 41728; expecting 7, saw 3
   ID: TIFF-HUL-7
  MIMEtype: image/tiff

Exif specification 2.32

* FileSource
Indicates the image source. If a DSC recorded the image, this tag value always shall be set to 3.
Tag = 41728 (A300.H)
Type = UNDEFINED
Count = 1
Default = 3
0 = others
1 = scanner of transparent type
2 = scanner of reflex type
3 = DSC
Other = reserved
@carlwilson carlwilson self-assigned this Aug 22, 2024
@carlwilson carlwilson added the bug A product defect that needs fixing label Aug 22, 2024
@carlwilson carlwilson added this to the JHOVE 1.34 milestone Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A product defect that needs fixing
Projects
None yet
Development

No branches or pull requests

2 participants