Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.4
-
Fix Version/s: 5.0.5
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
-
Salesforce Case Reference:
Description
The PDF in question contains several 1x1 images that when processed by the smoothScaled image reference results in an illegal argument exception when 0x0 gets passed as parameters. The root of the issue is that we do a 1x 0.99 and cast to an int which results in zero.
Activity
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #39464 | Fri Dec 20 04:07:22 MST 2013 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/SmoothScaledImageReference.java
|
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Arran Mccullough
made changes -
Salesforce Case Reference | 5007000000YYzzpAAD |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Updated the scaling multiplication to make sure the ceilling is used to avoid any issue when casting from double to int.