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 2016/09/09 15:48:21 UTC
[jira] [Updated] (PDFBOX-3486) IllegalArgumentException for images
without dimensions
[ https://issues.apache.org/jira/browse/PDFBOX-3486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr updated PDFBOX-3486:
------------------------------------
Attachment: PDFJS-4575-noimagedim.pdf
> IllegalArgumentException for images without dimensions
> ------------------------------------------------------
>
> Key: PDFBOX-3486
> URL: https://issues.apache.org/jira/browse/PDFBOX-3486
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.2, 2.0.3, 2.1.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 2.0.3, 2.1.0
>
> Attachments: PDFJS-4575-noimagedim.pdf
>
>
> {code}
> 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)
> {code}
> I'll throw a checked exception instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org