You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/03/23 02:06:42 UTC
[jira] [Commented] (PDFBOX-1953) java.lang.IllegalArgumentException
in SampledImageReader.getRGBImage()
[ https://issues.apache.org/jira/browse/PDFBOX-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944289#comment-13944289 ]
John Hewson commented on PDFBOX-1953:
-------------------------------------
Fixed in 1580399, the problem was the BitsPerComponent can be omitted for stencil masks because the bit depth is always 1.
> java.lang.IllegalArgumentException in SampledImageReader.getRGBImage()
> ----------------------------------------------------------------------
>
> Key: PDFBOX-1953
> URL: https://issues.apache.org/jira/browse/PDFBOX-1953
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Assignee: John Hewson
> Fix For: 2.0.0
>
>
> The file from PDFBOX-1207 has the above exception when calling readbits() on page 21 and others. Note that it must be opened with load() and not with loadNonSeq().
> Its also unclear whether the exception is a caused by the broken PDF or if it is a real bug.
--
This message was sent by Atlassian JIRA
(v6.2#6252)