pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-2055) IOException when converting PDF to image
Date Fri, 02 May 2014 15:14:15 GMT

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

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

I can confirm that it is happening on 1.8.6 :-( No idea yet why it didn't happen with the
pdfbox command line app.

> 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)

Mime
View raw message