[ 
https://issues.apache.org/jira/browse/PDFBOX-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944289#comment-13944289
 ] 

John Hewson edited comment on PDFBOX-1953 at 3/23/14 1:05 AM:
--------------------------------------------------------------

Fixed in 1580399, the problem was that BitsPerComponent can be omitted for 
stencil masks because the bit depth is always 1.


was (Author: jahewson):
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)

Reply via email to