ICEpdf
  1. ICEpdf
  2. PDF-794

Imaging taking a long time to decode.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.7
    • Fix Version/s: 5.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The PDF in question contains fairly large per page images, 2304x3152 that are in a raw format using the a separation colour space.

      The image via our last regular decode process takes about 3.5 seconds to decode on my system. The client would like us to try and speed this up as they are seeing 10-15 seconds on their servers.

        Activity

        Hide
        Patrick Corless added a comment -

        Added support for Separation colour space to the makeImageWithRasterFromBytes() method. This support significantly speeds up the decode time from about 3500ms on my system to around 400ms. The speed up occurs because we use the separations named colour as a shortcut to build writable raster that is gray scaled.

        Show
        Patrick Corless added a comment - Added support for Separation colour space to the makeImageWithRasterFromBytes() method. This support significantly speeds up the decode time from about 3500ms on my system to around 400ms. The speed up occurs because we use the separations named colour as a shortcut to build writable raster that is gray scaled.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: