Paolo Clerici created PDFBOX-3181:
-------------------------------------

             Summary: java.lang.ArrayIndexOutOfBoundsException: Coordinate out 
of bounds! in 
org.apache.pdfbox.pdmodel.graphics.image.LosslessFactory.createFromImage
                 Key: PDFBOX-3181
                 URL: https://issues.apache.org/jira/browse/PDFBOX-3181
             Project: PDFBox
          Issue Type: Bug
          Components: PDModel
    Affects Versions: 2.0.0
         Environment: PDFBox 20.RC2 (Oracle JDK 1.6 or Oracle JDK 1.7)
            Reporter: Paolo Clerici


method 
org.apache.pdfbox.pdmodel.graphics.image.LosslessFactory.createAlphaFromARGBImage
raise an exception on 
int[] pixels = alphaRaster.getPixels(0, 0,
                alphaRaster.getSampleModel().getWidth(),
                alphaRaster.getSampleModel().getHeight(),
                (int[]) null);
when alphaRaster.getSampleModel().getWidth() or 
alphaRaster.getSampleModel().getHeight() is greater than image.getWidth() or 
image.getHeight()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to