You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Daniel Wilson (JIRA)" <ji...@apache.org> on 2009/09/12 20:01:57 UTC
[jira] Commented: (PDFBOX-518) ArrayIndexOutOfBoundsException in
PDInlinedImage.java
[ https://issues.apache.org/jira/browse/PDFBOX-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754574#action_12754574 ]
Daniel Wilson commented on PDFBOX-518:
--------------------------------------
I'm very happily incorporating this flate patch.
Not only does it eliminate the error you cited, but it significantly improves the rendering of several test cases.
Thanks!
> ArrayIndexOutOfBoundsException in PDInlinedImage.java
> -----------------------------------------------------
>
> Key: PDFBOX-518
> URL: https://issues.apache.org/jira/browse/PDFBOX-518
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 0.8.0-incubator
> Reporter: Andrew Duffy
> Priority: Minor
> Attachments: flate.patch, survey.pdf
>
>
> I can't post a sample PDF, but the trace is:
> java.lang.ArrayIndexOutOfBoundsException
> at java.lang.System.arraycopy(Native Method)
> at org.apache.pdfbox.pdmodel.graphics.xobject.PDInlinedImage.createImage(PDInlinedImage.java:171)
> at org.apache.pdfbox.util.operator.pagedrawer.BeginInlineImage.process(BeginInlineImage.java:57)
> at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:510)
> at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:223)
> at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:182)
> at org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:92)
> at org.apache.pdfbox.pdmodel.PDPage.convertToImage(PDPage.java:686)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.