Tilman Hausherr created PDFBOX-4801:
---------------------------------------

             Summary: ArrayIndexOutOfBoundsException in PDICCBased.toRGB()
                 Key: PDFBOX-4801
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4801
             Project: PDFBox
          Issue Type: Bug
            Reporter: Tilman Hausherr
         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]

Reply via email to