Gary Lucas created IMAGING-362:
----------------------------------

             Summary: TIFF tags 0x111 and 0x117 have wrong descriptive names
                 Key: IMAGING-362
                 URL: https://issues.apache.org/jira/browse/IMAGING-362
             Project: Commons Imaging
          Issue Type: Bug
          Components: Format: TIFF
    Affects Versions: 1.0-alpha2
            Reporter: Gary Lucas
             Fix For: 1.0-alpha3


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.

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to