ICEpdf
  1. ICEpdf
  2. PDF-286

Create type 4 function results cache.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.2.2
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      A community memory posted a sample file that they claimed worked in 4.1.1 but not in 4.2 I took a quick look at the file in question and there is an image on the page that has a colour space that uses a type 4 function. In version 4.1.1, the image comes out blue which is incorrect. In 4.2 the image render correctly because of the type 4 function support but is extreme slow.

      The slowdown is because each colour is value is run thought the type 4 function. The function has no caching so when processing a 2 colour image we do a lot of extra work.

        Activity

        Hide
        Patrick Corless added a comment -

        Added a calculated result cache to the type 4 function. Should have put this in in the initial release as there is significant slowdown when using an type 4 function for an image colour mask.

        Show
        Patrick Corless added a comment - Added a calculated result cache to the type 4 function. Should have put this in in the initial release as there is significant slowdown when using an type 4 function for an image colour mask.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: