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

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

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

ASF GitHub Bot (Jira)
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

       
Reply | Threaded
Open this post in threaded view
|

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

ASF GitHub Bot (Jira)

     [ 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

       
Reply | Threaded
Open this post in threaded view
|

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

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ 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

       
Reply | Threaded
Open this post in threaded view
|

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

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

     [ 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

       
Reply | Threaded
Open this post in threaded view
|

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

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

     [ 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