> On 29 Jun 2016, at 10:26, Tilman Hausherr <[email protected]> wrote:
> 
>> Am 29.06.2016 um 19:21 schrieb [email protected]:
>> Hi,
>> I used to work with PDFBox 1.8, and it was not thread safe. Like rendering
>> of multiple pages at the same time was not possible (not reliable).
>> The only way was to create new PDDocument of that single file in every
>> thread.
>> 
>> Is there any changes in PDFBox 2.0 in this respect?
>> Is it possible to render pages to images in multiple threads? (without
>> opening new PDDocument in every thread)
> 
> No.

Unofficially reading different pages from a single PDDocument does now support 
multi-threading, so you can share a PDDocument between threads and create a 
PDFRenderer on each thread.

-- John

> Tilman
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to