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
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 4.3 [ 10266 ] |
Patrick Corless
made changes -
Salesforce Case | [] | |
Fix Version/s | 5.0 [ 10314 ] | |
Fix Version/s | 4.3 [ 10266 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #34163 | Mon Apr 01 11:12:29 MDT 2013 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/InlineImageStreamReference.java
MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/ImageStreamReference.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/ImageReference.java MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/ScaledImageReference.java |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Page proxy has been added to the rendering core. The proxy can be turned off with the property org.icepdf.core.imageProxy=false.