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