Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

        Activity

        Hide
        Patrick Corless added a comment -

        Page proxy has been added to the rendering core. The proxy can be turned off with the property org.icepdf.core.imageProxy=false.

        Show
        Patrick Corless added a comment - Page proxy has been added to the rendering core. The proxy can be turned off with the property org.icepdf.core.imageProxy=false.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: