Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.0-alpha2
-
None
Description
The TIFF standard defines metadata elements using integer code values. For code values 0x111 and 0x117, Commons Imaging associates these with incorrect names "PreviewImageStart" and "PreviewImageLength". According to the specification "TIFF Revision 6.0 Final – June 3, 1992", the correct names for these are "StripOffsets" and "StripByteCounts". In fact, the word "preview" never even shows up in the TIFF specification.
This should be an easy fix. No new test cases will be required, since these are descriptive elements only.
The role of these two elements is to define the file position and length of data elements for TIFF files that are encoded as strips.
One of the example programs in the Commons Imaging distribution (which is not compiled) is called ReadTagsAndImages.java. It can be used to dump TIFF tags.