You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Lukas Vasek (JIRA)" <ji...@apache.org> on 2014/01/24 19:27:38 UTC
[jira] [Closed] (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:all-tabpanel ]
Lukas Vasek closed PDFBOX-1856.
-------------------------------
Resolution: Not A Problem
My problem was in rendering method while I was using more threads to render images from document. Now for each thread I'm using new document generated by PDDocument.loadNonSeq() method.
> 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: Test.java.txt, nv_big_document.pdf, nv_document.pdf, pdfbox-1856.pdf-1.png, pdfbox-1856.pdf-2.png, 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)