You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Piyush Kapoor (Created) (JIRA)" <ji...@apache.org> on 2012/03/02 08:10:58 UTC

[jira] [Created] (SANSELAN-65) TiffReader throws Can't find Rows per strip in case rows per strip is not present

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

        

[jira] [Commented] (SANSELAN-65) TiffReader throws Can't find Rows per strip in case rows per strip is not present

Posted by "Damjan Jovanovic (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SANSELAN-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221613#comment-13221613 ] 

Damjan Jovanovic commented on SANSELAN-65:
------------------------------------------

Thank you, but please select "Grant licence to ASF for inclusion" on that patch, otherwise we can't apply it.

                
> 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
>              Labels: patch
>         Attachments: TiffReader.java.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> 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

        

[jira] [Updated] (SANSELAN-65) TiffReader throws Can't find Rows per strip in case rows per strip is not present

Posted by "Piyush Kapoor (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SANSELAN-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Piyush Kapoor updated SANSELAN-65:
----------------------------------

    Attachment: TiffReader.java.patch

Patch for the Tiff Reader
                
> 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
>              Labels: patch
>         Attachments: TiffReader.java.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> 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

        

[jira] [Resolved] (SANSELAN-65) TiffReader throws Can't find Rows per strip in case rows per strip is not present

Posted by "Damjan Jovanovic (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SANSELAN-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Damjan Jovanovic resolved SANSELAN-65.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0

Committed in revision 1297330. Thank you for your contribution! Resolving FIXED.

                
> 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
>              Labels: patch
>             Fix For: 1.0
>
>         Attachments: TiffReader.java.patch, TiffReader.java.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> 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

        

[jira] [Updated] (SANSELAN-65) TiffReader throws Can't find Rows per strip in case rows per strip is not present

Posted by "Piyush Kapoor (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SANSELAN-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Piyush Kapoor updated SANSELAN-65:
----------------------------------

    Attachment: TiffReader.java.patch

Granting Licence to ASF for inclusion
                
> 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
>              Labels: patch
>         Attachments: TiffReader.java.patch, TiffReader.java.patch
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> 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