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