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

ASF subversion and git services commented on PDFBOX-3484:
---------------------------------------------------------

Commit 1759869 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1759869 ]

PDFBOX-3484: cache PDImageXObject if resources are not needed

> Implement some caching of PDImageXObject
> ----------------------------------------
>
>                 Key: PDFBOX-3484
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3484
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Rendering
>    Affects Versions: 2.0.2, 2.0.3, 2.1.0
>            Reporter: Tilman Hausherr
>             Fix For: 2.0.3, 2.1.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to