Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.4
-
None
Description
IOException: Image stream is empty
org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.getRGBImage(SampledImageReader.java:114)
org.apache.pdfbox.pdmodel.graphics.image.PDInlineImage.getImage(PDInlineImage.java:344)
org.apache.pdfbox.rendering.PageDrawer.drawImage(PageDrawer.java:986)
org.apache.pdfbox.contentstream.operator.graphics.BeginInlineImage.process(BeginInlineImage.java:40)
org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:853)
Unlike in PDFBOX-2237 the inline image is really empty:
BI /CS/G /W 2 /H 1 /BPC 8 ID EI EI
Solution: warn and skip.