Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.31, 3.0.2 PDFBox
-
None
Description
reported by Patrycja Zaremba in the users mailing list
https://lists.apache.org/thread/xnwcyhq2c16d9xfgqwgjs70k9qb1w8tp
When the page which I try to convert have any element which is png with
only 1px height (28x1, 54x1 etc.) it is scaled down to 0 and I got this
IllegalArgumentException: Width (26) and height (0) must be non-zero
org.apache.pdfbox.rendering.PageDrawer.drawImage(PageDrawer.java:1281)
org.apache.pdfbox.contentstream.operator.graphics.DrawObject.process(DrawObject.java:74)