Michael Doswald created PDFBOX-3433:
---------------------------------------
Summary: Optimize image conversion in LosslessFactory
Key: PDFBOX-3433
URL: https://issues.apache.org/jira/browse/PDFBOX-3433
Project: PDFBox
Issue Type: Improvement
Components: PDModel
Affects Versions: 2.0.2
Environment: Ubuntu 14.04.4 LTS
Reporter: Michael Doswald
Priority: Trivial
Conversion of BufferedImage objects into PDImageXObject objects could be
optimized by
* Pre-sizing the buffers
* Reading whole lines of pixels instead of pixel-by-pixel
* Prevent unnecessary copying of byte arrays
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]