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.
Updated the scaling multiplication to make sure the ceilling is used to avoid any issue when casting from double to int.