Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.0.2, 2.0.3, 3.0.0 PDFBox
-
Ubuntu 14.04.4 LTS
Description
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