Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.6_P01
-
Fix Version/s: 5.0.7
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
-
Support Case References:
-
Workaround Exists:Yes
-
Workaround Description:use org.icepdf.core.cmyk.disableICCProfile=true to improve performance
Description
A client has sent in a PDF that has a medium sized image (2496x3216) and corresponding image mask. The images however use a n ICC color profile which has very expensive colour look ups.
When working with ICC color profiles for CMYK pallets I found that the Java Implementation was too slow for doing image lookups. I think it's time to revisit this issue both for ICCBase and DeviceCMYK colour spaces. There is a good chance we could create a local lookup cache that would improve performance as well as getting better colour accuracy.
When working with ICC color profiles for CMYK pallets I found that the Java Implementation was too slow for doing image lookups. I think it's time to revisit this issue both for ICCBase and DeviceCMYK colour spaces. There is a good chance we could create a local lookup cache that would improve performance as well as getting better colour accuracy.
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 5.0.7 [ 11470 ] |
Support Case References |
Support Case #12899 - https://icesoft.my.salesforce.com/5007000000dDkSK
Support Case #12805 - https://icesoft.my.salesforce.com/5007000000duevw |
Workaround Description | use org.icepdf.core.cmyk.disableICCProfile=true to improve performance | |
Workaround Exists | Yes [ 10007 ] |
Fix Version/s | 5.1 [ 10675 ] | |
Fix Version/s | 5.0.7 [ 11470 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #42058 | Fri Aug 01 07:15:56 MDT 2014 | patrick.corless | |
Files Changed | ||||
![]() |
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 5.0.7 [ 11470 ] | |
Fix Version/s | 5.1 [ 10675 ] | |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #42061 | Fri Aug 01 09:51:51 MDT 2014 | patrick.corless | |
Files Changed | ||||
![]() ![]() |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Added a HashMap based cache for previously looked up ICC color values. The key generation is a bit rudimentary but is adequate for now as the result is a significant speed up when using the ICC profiles for CMYK.