[
https://issues.apache.org/jira/browse/PDFBOX-3433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-3433.
-------------------------------------
Resolution: Fixed
Assignee: Tilman Hausherr
Fix Version/s: 2.1.0
2.0.3
Indeed, thanks!
> 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, 2.0.3, 2.1.0
> Environment: Ubuntu 14.04.4 LTS
> Reporter: Michael Doswald
> Assignee: Tilman Hausherr
> Priority: Trivial
> Labels: optimization, performance
> Fix For: 2.0.3, 2.1.0
>
> Attachments:
> PDFBOX-3433_Optimize_image_conversion_in_LosslessFactory_rev1.patch,
> pdfbox-performance-PDFBOX-3433.zip
>
>
> 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]