Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.2, 2.0.3, 3.0.0 PDFBox
-
None
Description
Caused by: java.lang.IllegalArgumentException: Width (-1) and height (-1) must be > 0 org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.getRGBImage(SampledImageReader.java:154) org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.getImage(PDImageXObject.java:341) org.apache.pdfbox.rendering.PageDrawer.drawImage(PageDrawer.java:808)
I'll throw a checked exception instead.