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 2013/08/09 20:30:48 UTC

[jira] [Updated] (PDFBOX-1687) add dispose() in pdfbox\pdmodel\PDPage.convertToImage()

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

Tilman Hausherr updated PDFBOX-1687:
------------------------------------

    Description: 
I suggest to add these two lines at the end of pdfbox\pdmodel\PDPage.convertToImage()

        drawer.dispose();
        graphics.dispose();

This would speed up cleanup after rendering. (Alternatively, delete the PageDrawer.dispose() function, because it is never used)

  was:
I suggest to add these two lines at the end of pdfbox\pdmodel\PDPage.convertToImage()

        drawer.dispose();
        graphics.dispose();

This would speed up cleanup after rendering. (Alternatively, delete the PageDrawer.dispose() function, because it is never used.

    
> add dispose() in pdfbox\pdmodel\PDPage.convertToImage()
> -------------------------------------------------------
>
>                 Key: PDFBOX-1687
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1687
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Priority: Trivial
>
> I suggest to add these two lines at the end of pdfbox\pdmodel\PDPage.convertToImage()
>         drawer.dispose();
>         graphics.dispose();
> This would speed up cleanup after rendering. (Alternatively, delete the PageDrawer.dispose() function, because it is never used)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira