You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2014/01/06 08:03:51 UTC

[jira] [Commented] (PDFBOX-1814) In some cases PDPage converttoimage is extremely slow

    [ https://issues.apache.org/jira/browse/PDFBOX-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13862819#comment-13862819 ] 

Andreas Lehmkühler commented on PDFBOX-1814:
--------------------------------------------

I dig deeper into it and it seems that the java.awt.Graphics2D#drawImage call in PageDrawer#drawImage is the show stopper here. 

I haven't any idea yet why this happens and how to improve that.

> In some cases PDPage converttoimage is extremely slow 
> ------------------------------------------------------
>
>                 Key: PDFBOX-1814
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1814
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.8.3
>         Environment: all (windows, Linux, unix, jre1.6, jre1.7)
>            Reporter: lieven vanlerberghe
>         Attachments: extreme_slow.pdf
>
>
> I convert hundreds of documents with an average of some seconds per page.  One type of documents takes several minutes per page.  
> It is not linked to the size of the document: I extracted one page and generated the image on its own.  
> It is not linked to the fonts, because I have the same content in another document (A6 format instead of A4), and there I don't have a problem. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)