Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.3
-
Fix Version/s: 5.0
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
Description
When a PDF document is loaded that contains images a relatively significant amount of time is spent parsing the image data. When the image is being parsed it blocks the main content thread and as a result the perception of load time is greatly increased even if there was text or other shapes that could be immediately been painted.
I would like to introduce an image proxy that would differ image loading until the image actually needs to be painted or processed by a separate consumer thread. The Shapes class already has a paint observer setup for incremental painting, this same mechanism could be used to queue a repaint of a page when the images becomes available.
I would like to introduce an image proxy that would differ image loading until the image actually needs to be painted or processed by a separate consumer thread. The Shapes class already has a paint observer setup for incremental painting, this same mechanism could be used to queue a repaint of a page when the images becomes available.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Page proxy has been added to the rendering core. The proxy can be turned off with the property org.icepdf.core.imageProxy=false.