Powered by OPF
OPF WIKI STATIC ARCHIVE
2,681 pages · 153 spaces · 776 tags · 4,025 history records · 96.2% of the original wiki recovered
Archived copy. This page was recovered from the Internet Archive snapshot of /pages/viewpage.action?pageId=16713953 taken on 2021-10-16. The original wiki at wiki.opf-labs.org is being decommissioned.

Solving TIFF malformation using exiftool

Added by Andrew Amato · last edited by Andrew Amato · on Sep 20, 2012
Title

Solving TIFF malformation using exiftool

Detailed description

The issue page describes the problem as (essentially) TIFF files being unusable, despite being "validated" by tools like JHOVE.

Solution Champion

aamato

Corresponding Issue(s)

Relevant "issues" page.

Solution details

A lot of time was spent investigating the details of the file structure, for the images which could not be opened; which ultimately was a dead-end.

Eventually, we realised that the images were claiming to be 16-bit greyscale, but in fact, were actualy 8-bit greyscale. (Which, in retrospect, should have been more obvious, based on the rare error messages tools would give us.)

This meant that detection/correction suddenly became a lot easier: check for a discrepancy between image dimension and bit-depth, and the actual file size. (See below.) Similarly, because the pixel data was actually correct, we can correct the images by setting the correct value for the "BitsPerSample" tag.

Important questions and takeaways (see slides below)
Tool Registry Link

ExifTool

Evaluation

???

Slides from final day (images/PPT)