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.
Activity
Patrick Corless
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51348 | Thu Mar 16 15:47:40 MDT 2017 | patrick.corless | cache. |
Files Changed | ||||
ADD
/icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/RasterOps/IccCmykRasterOp.java
MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/ImageUtility.java MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/DeviceCMYK.java |
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.2.3 [ 13098 ] | |
Fix Version/s | 6.3 [ 13093 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51349 | Fri Mar 17 08:03:32 MDT 2017 | patrick.corless | cache. |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
ADD /icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/RasterOps/IccCmykRasterOp.java |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
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.