Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.2.2
-
Fix Version/s: 5.0.5
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
Description
The PDF in question is an OCR'd scan. As per the usual there is background images which is blurred slightly, followed by a for ground images that contains the page scan. Text derived from OCR is drawn in correct location to line up for text selection.
The foreground images is causing the quality problem. The images is composed of a regular jpeg at about 827x1169 pixels and a ccitttfax image mask at 2481x3508. We currently scale the mask to match the base image dimension which in this case is quite small. I suspect this is the reason for the low compressed quality.
The foreground images is causing the quality problem. The images is composed of a regular jpeg at about 827x1169 pixels and a ccitttfax image mask at 2481x3508. We currently scale the mask to match the base image dimension which in this case is quite small. I suspect this is the reason for the low compressed quality.
Activity
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 5.0 [ 10314 ] | |
Fix Version/s | 4.3 [ 10266 ] |
Patrick Corless
made changes -
Fix Version/s | 5.1 [ 10675 ] | |
Fix Version/s | 5.0 [ 10314 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 5.0.5 [ 11373 ] | |
Fix Version/s | 5.1 [ 10675 ] | |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
The image masking has been normalized to one location in ImageUtility. The default behavior is to always scale the image to match the larger mask or vise versa. There is a new system property org.icepdf.core.imageMaskScale.quality when equal to false will scale down to the smaller image and thus save memory but lower the render quality.