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

Tilman Hausherr commented on PDFBOX-2055:
-----------------------------------------

I can't reproduce this with 1.8.5, so maybe it has been fixed in that version. 
However you won't like the output. The output is fine with the unreleased 2.0 
version, get it here (where you can also find the 1.8.5 and 1.8.6 versions):
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/



> IOException when converting PDF to image
> ----------------------------------------
>
>                 Key: PDFBOX-2055
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2055
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.8.4
>            Reporter: Hong-Thai Nguyen
>            Priority: Critical
>         Attachments: eu_competition_newsletter_04_june_-_10_june_2010.pdf
>
>
> With attach PDF file, we got IO Exception when using PDPage.convertToImage():
> {code}
> java.io.IOException
>       at org.apache.pdfbox.filter.FlateFilter.decode(FlateFilter.java:138)
>       at org.apache.pdfbox.cos.COSStream.doDecode(COSStream.java:336)
>       at org.apache.pdfbox.cos.COSStream.doDecode(COSStream.java:248)
>       at 
> org.apache.pdfbox.cos.COSStream.getUnfilteredStream(COSStream.java:183)
>       at 
> org.apache.pdfbox.pdfparser.PDFStreamParser.<init>(PDFStreamParser.java:107)
>       at 
> org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:251)
>       at 
> org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:235)
>       at 
> org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:215)
>       at org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:127)
>       at org.apache.pdfbox.pdmodel.PDPage.convertToImage(PDPage.java:801)
>       at 
> com.polyspot.connector.imageservice.generators.PDFBoxImageGenerator.computeImage(PDFBoxImageGenerator.java:75)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to