[
https://issues.apache.org/jira/browse/PDFBOX-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877441#comment-13877441
]
Tilman Hausherr edited comment on PDFBOX-1856 at 1/21/14 1:29 PM:
------------------------------------------------------------------
Thats what I meant - each thread must create its own pddocument. (See faq at
http://pdfbox.apache.org/userguide/faq.html#threadsafe )
I learned this myself the hard way when I tried to speed up TestImageIOUtils
(PDFBOX-1850) and loaded the document only once before starting the threads.
was (Author: tilman):
Thats what I meant - each thread must create its own pddocument. (See faq)
> 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)