You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/02/18 17:04:44 UTC
[jira] [Updated] (PDFBOX-3694) java.io.IOException: Image stream is
empty for inline image (2)
[ https://issues.apache.org/jira/browse/PDFBOX-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr updated PDFBOX-3694:
------------------------------------
Attachment: PDFBOX-3694-550930-p4.pdf
> java.io.IOException: Image stream is empty for inline image (2)
> ---------------------------------------------------------------
>
> Key: PDFBOX-3694
> URL: https://issues.apache.org/jira/browse/PDFBOX-3694
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.4
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 2.0.5, 2.1.0
>
> Attachments: PDFBOX-3694-550930-p4.pdf
>
>
> {code}
> 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)
> {code}
> Unlike in PDFBOX-2237 the inline image is really empty:
> {code}
> BI
> /CS/G
> /W 2
> /H 1
> /BPC 8
> ID EI
> EI
> {code}
> Solution: warn and skip.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org