Hi,
Am 02.11.2015 um 21:27 schrieb John Hewson:
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?
Not really, if you will use some zooming features like fit do screen
width and so one, you need this dpi value. We have also tried it with
lower dpi value, there ist not so an big difference.
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
That are not good news. We have also testet other free
java-pdf-libaries, some are faster, but they don't have the same
rendering quality and no one can view so many kinds of pdf as pdfbox.
There is pdfbox especial great.
BR, Manfred
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]