[
https://issues.apache.org/jira/browse/PDFBOX-3433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15387960#comment-15387960
]
ASF subversion and git services commented on PDFBOX-3433:
---------------------------------------------------------
Commit 1753708 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1753708 ]
PDFBOX-3433: add optimizations by Michael Doswald
> 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
> Labels: optimization, performance
> 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]