You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/01/21 13:40:19 UTC

[jira] [Commented] (PDFBOX-1856) Can't convert image from PDPage to BufferedImage

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

Tilman Hausherr commented on PDFBOX-1856:
-----------------------------------------

Works for me with the current java 7 version and the 2.0.0 version of yesterday. Are you sure that the pdf file is the one making the problems? 

Are you using several threads? If yes, each thread must have its down PDDocument.

> Can't convert image from PDPage to BufferedImage
> ------------------------------------------------
>
>                 Key: PDFBOX-1856
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1856
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing, Utilities
>    Affects Versions: 2.0.0
>         Environment: windows 7 x64
>            Reporter: Lukas Vasek
>         Attachments: pdfbox.pdf, stacktrace.txt
>
>
> Hello,
> I'm trying to print pdf by extracting image from pdf and then print it.
> But I'm getting error 
> stop reading corrupt stream due to a DataFormatException
> and nothing is printed.
> I'm attaching original file and stacktrace



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)