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

Sanselan can't render 48 bit pixel Tiff image (bit per samples ={16,16,16})

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-alpha1
    • Format: TIFF
    • Windows 7 64 bit

    Description

      We have a very large Tiff image tha uses 16 bits for each pixel (bits per sample total = 48) . The class org.apache.commons.sanselan.common.Bitinputstream didn't have support for Endianness of the Tiff format . I added that support in the patch and image worked absolutely fine.
      The image is very large . If you want i can upload it (140 mb).Otherwise here is the patch.

      Attachments

        1. tiffimage.patch
          13 kB
          Piyush Kapoor
        2. BinaryFileParser.java.patch
          4 kB
          Piyush Kapoor

        Activity

          People

            Unassigned Unassigned
            pkapoor Piyush Kapoor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified