Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.2.2
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:Any but more so in JDK 1.8
Description
A supported customer send in an interesting PDF that has several small images. The images are converted to rgb using an ICC colour profile but the process is extremely slow on the clients system, taking 20 seconds or more. We are not seeing this on our system but there are similar conversations online pointing at java8 and jai combinations.
The new cache is a little faster for files that have multiple images with similar colour pallets. The cache is static so it can have further performance gains on file to be rendered. The only other option speed up rendering is the disable the icc_profile processing using the system property -Dorg.icepdf.core.cmyk.disableICCProfile=true.