Tilman Hausherr created PDFBOX-3484:
---------------------------------------
Summary: Implement some caching of PDImageXObject
Key: PDFBOX-3484
URL: https://issues.apache.org/jira/browse/PDFBOX-3484
Project: PDFBox
Issue Type: Bug
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]