commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piyush Kapoor (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SANSELAN-65) TiffReader throws Can't find Rows per strip in case rows per strip is not present
Date Fri, 02 Mar 2012 07:10:58 GMT
TiffReader throws Can't find Rows per strip in case rows per strip is not present
---------------------------------------------------------------------------------

                 Key: SANSELAN-65
                 URL: https://issues.apache.org/jira/browse/SANSELAN-65
             Project: Commons Sanselan
          Issue Type: Bug
          Components: Format: TIFF
         Environment: Windows - 7 64 bit 
            Reporter: Piyush Kapoor
            Priority: Critical


If a TIFF file doesnot contain a tag TIFF_TAG_ROWS_PER_STRIP then TIFFReader thwos an exception
. So we don't get buffered image for that tiff .
Fix is :- According to Tiff Specification if rows per strip is not present , then we can assume
entire image as one strip .
So in this case Rows per Strip = Image_length .

I tried this and image worked .

Read the following tag :-
http://www.awaresystems.be/imaging/tiff/tifftags/rowsperstrip.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message