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:28:49 UTC

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

Tilman Hausherr created PDFBOX-1687:
---------------------------------------

             Summary: 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