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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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 |