pdfbox-dev mailing list archives

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

             Summary: 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