You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Mehdi Houshmand (JIRA)" <ji...@apache.org> on 2011/07/20 11:54:58 UTC
[jira] [Updated] (PDFBOX-1073) Error when handling a TIFF image
[ https://issues.apache.org/jira/browse/PDFBOX-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mehdi Houshmand updated PDFBOX-1073:
------------------------------------
Attachment: tiffErrorFix.patch
The patch to fix this issue
> Error when handling a TIFF image
> --------------------------------
>
> Key: PDFBOX-1073
> URL: https://issues.apache.org/jira/browse/PDFBOX-1073
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 1.6.0
> Environment: Ubuntu 11/04
> Reporter: Mehdi Houshmand
> Priority: Trivial
> Attachments: tiffErrorFix.patch
>
>
> There is an error in a TIFF image within a PDF document and when PDCcitt.getRGBImage() is called, there is a disparity between current PDFBox and v0.8.0. The issue is that there now TIFF decoding features whereas the older PDFBox used to hand that off to java.imageio.
> The bug here isn't in the Ccitt decoder, but rather in how PDCcitt.getRGBImage() handles an error. Rather than bombing out, I have reimplemented the old feature when an error is thrown.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira