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 2013/08/25 16:40:53 UTC

[jira] [Resolved] (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 ]

Andreas Lehmkühler resolved PDFBOX-1687.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
         Assignee: Andreas Lehmkühler

I added the proposed change in revision 1517303.

Thanks for the contribution!
                
> 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
>            Assignee: Andreas Lehmkühler
>            Priority: Trivial
>             Fix For: 2.0.0
>
>         Attachments: PDFBOX-1687.patch
>
>
> 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