[
https://issues.apache.org/jira/browse/PDFBOX-4801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17063283#comment-17063283
]
ASF subversion and git services commented on PDFBOX-4801:
---------------------------------------------------------
Commit 1875464 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1875464 ]
PDFBOX-4801: correct numberOfComponents if /N is incorrect
> ArrayIndexOutOfBoundsException in PDICCBased.toRGB()
> ----------------------------------------------------
>
> Key: PDFBOX-4801
> URL: https://issues.apache.org/jira/browse/PDFBOX-4801
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.19
> Reporter: Tilman Hausherr
> Priority: Major
> Attachments: PDFBOX-4801-Bad-ICC-N.pdf
>
>
> {noformat}
> java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3
>
> org.apache.pdfbox.pdmodel.graphics.color.PDICCBased.toRGB(PDICCBased.java:403)
> org.apache.pdfbox.rendering.PageDrawer.getPaint(PageDrawer.java:324)
>
> org.apache.pdfbox.rendering.PageDrawer.getNonStrokingPaint(PageDrawer.java:684)
> org.apache.pdfbox.rendering.PageDrawer.fillPath(PageDrawer.java:784)
> {noformat}
> The reason is that the attached file has an incorrect ICC colorspace. N is 3
> but should be 4.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]