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

Maruan Sahyoun commented on PDFBOX-2332:
----------------------------------------

Hi Simon,

is it possible to attach a sample file. 

>From the error message I suspect the file violates „.. There shall not be any 
>extra bytes, other than white space, between endstream and endobj. ..“ 

BR Maruan


> Error reading stream, expected='endstream' actual='endstream8' at offset 1993
> -----------------------------------------------------------------------------
>
>                 Key: PDFBOX-2332
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2332
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.0
>            Reporter: simon steiner
>
> PDF from PDFBOX-195
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage 
> -nonSeq test_bad.pdf 
> Exception in thread "main" java.io.IOException: Error reading stream, 
> expected='endstream' actual='endstream8' at offset 1993
>       at 
> org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parseCOSStream(NonSequentialPDFParser.java:1576)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to