You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2019/03/25 17:27:00 UTC

[jira] [Resolved] (PDFBOX-4491) slow rendering for PDF

     [ https://issues.apache.org/jira/browse/PDFBOX-4491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr resolved PDFBOX-4491.
-------------------------------------
    Resolution: Fixed
      Assignee: Tilman Hausherr

> slow rendering for PDF
> ----------------------
>
>                 Key: PDFBOX-4491
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4491
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Rendering
>    Affects Versions: 2.0.14
>            Reporter: Padovan Stefano
>            Assignee: Tilman Hausherr
>            Priority: Major
>              Labels: optimization, shading, shadingpattern
>             Fix For: 2.0.15, 3.0.0 PDFBox
>
>         Attachments: BUCH42 Pascu Guideline adapted.pdf, Screenshot 2019-03-19 at 18.09.12.png
>
>
> When rendering the attached PDF page by page, it takes about 2 minutes 30 seconds on my machine.
> Attached also the CPU sample of visualVM.
> code is as simple as:
> {code:java}
> PDFRenderer pdfRenderer = new PDFRenderer(pdf);
> for (int i = 0; i < pdf.getNumberOfPages(); i++) {
>   ImageIO.write(pdfRenderer.renderImage(i), "bmp", new File("image-" + i + ".bmp"));
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org