Uploaded image for project: 'Commons Imaging'
  1. Commons Imaging
  2. IMAGING-362

TIFF tags 0x111 and 0x117 have wrong descriptive names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0-alpha2
    • 1.0.0-alpha6
    • Format: TIFF
    • 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.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            gwlucas Gary Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: