> On 2 Nov 2015, at 08:35, Manfred Pock <[email protected]> wrote:
> 
> Hi,
> 
> we render a image with the pdfbox-renderer:
> 
> for example
> renderImageWithDPI(Pi_pageIdx, 250, ImageType.RGB);
> 
> 250dpi, is a good value beetween performance and rendering quality

That’s a pretty high DPI, I’d expect PDFBox to take a while to render that. Is 
there any way you can reduce the DPI?

> and we show the bufferedimage in java (we also cache the image that we don't 
> need to rerender it always)

PDFBox isn’t really fast enough for real-time rendering, such as a PDF viewer 
in AWT / Swing.

— John

> what i know is that the usual way in pdfbox, or will there be a better way?
> 
> BR,  Manfred
> 
> Am 02.11.2015 um 17:27 schrieb Maruan Sahyoun:
>> Hi,
>> 
>>> Am 02.11.2015 um 17:20 schrieb Manfred Pock <[email protected]>:
>>> 
>>> Windows 7 pro, jdk 8, intel core i5, 8Gb Ram.
>>> 
>>> Java-Parameter:
>>> -XX:MaxHeapFreeRatio=40 -XX:MinHeapFreeRatio=30 -XX:+UseParNewGC 
>>> -XX:+UseConcMarkSweepGC -Xmx512m -Xms192m
>>> 
>>> Log-message, no there are no new log message.
>> btw - how do you do the rendering? Would you have a code snippet?
>> 
>> BR
>> Maruan
>> 
>> 
>>> BR, Manfred
>>> 
>>> Am 02.11.2015 um 17:12 schrieb Maruan Sahyoun:
>>>> Hello Manfred,
>>>> 
>>>>> Am 02.11.2015 um 17:09 schrieb Manfred Pock <[email protected]>:
>>>>> 
>>>>> Hello!
>>>>> 
>>>>> Currently we you use a version from pdfbox to render pdf's from the trunk 
>>>>> at date 2015-03-09. Not really fast, but it will be ok.
>>>>> 
>>>>> From time to time i try the current trunk version to check any 
>>>>> improvements on the performance side, but no enhancement, it seems the 
>>>>> rendering process is getting slower and slower.
>>>>> 
>>>>> For example the pdf at http://cloud.directupload.net/N4t needs on the 
>>>>> may-version about 5 sec to render der first page, the current version 
>>>>> needs at least 10 sec.
>>>> thanks for the pointer - do you get any (new) log messages while 
>>>> rendering? Which platform are you using?
>>>> 
>>>> BR
>>>> Maruan
>>>> 
>>>>> I have tried it it with different memory settings, no really different. 
>>>>> It will be great if you can to some improvements on the rendering 
>>>>> performance before 2.0 final version will release.
>>>>> 
>>>>> best regarts, Manfred
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> 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]
>>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> 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]
>> 
> 
> 
> ---------------------------------------------------------------------
> 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