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 2016/09/08 17:21:20 UTC

[jira] [Closed] (PDFBOX-3483) Implement some caching of PDImageXObject

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

Tilman Hausherr closed PDFBOX-3483.
-----------------------------------
    Resolution: Duplicate

Sorry, was created twice.

> Implement some caching of PDImageXObject
> ----------------------------------------
>
>                 Key: PDFBOX-3483
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3483
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.2, 2.0.3, 2.1.0
>            Reporter: Tilman Hausherr
>
> Markus Barbey mentioned on the mailing list that {{PageDrawer.drawImage(PDImage)}} has a new instance every time, because the caching in PDResources is disabled, so the caching of the BufferedImage is useless.
> It is indeed disabled, see near the bottom of PDFBOX-2370.
> I'll enable it for cases where PDImageXObject does not need anything from the resources. An image could be in several pages with the same colorspace name, but that name could be something different in different pages. (very unlikeky, but possible!)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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