Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.3.1
-
Fix Version/s: 6.3.2
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
Description
Trying to clean up some old code I have laying around. This particular patch adds code to AbstractImageDecoder to scale images that fall outside a reasonable size. In this particular case the images over 7000x7000 pixels will be scaled down to max edge of 1500 pixels. The intent being that the various image decoders can use the same rules for trying to scale down images or masks.
Three more system properties to handle configuration
org.icepdf.core.imageDecoder.maxwWdth
org.icepdf.core.imageDecoder.maxwHeight
org.icepdf.core.imageDecoder.preferredSize
Current candidates for the new code are DctDecode, JpxDecode as they are the most common image types we have memory problems with.
Three more system properties to handle configuration
org.icepdf.core.imageDecoder.maxwWdth
org.icepdf.core.imageDecoder.maxwHeight
org.icepdf.core.imageDecoder.preferredSize
Current candidates for the new code are DctDecode, JpxDecode as they are the most common image types we have memory problems with.
Activity
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Patrick Corless
made changes -
Fix Version/s | 6.3.2 [ 13175 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52811 | Wed Nov 28 20:08:16 MST 2018 | patrick.corless | for JPG2000 and JPEG images types for the time being. |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/images/AbstractImageDecoder.java
MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/images/JpxDecoder.java MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/images/DctDecoder.java |
Patrick Corless
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Marking as fixed.