ICEpdf
  1. ICEpdf
  2. PDF-209

graphics state smask value not supported.

    Details

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

      Description

      This PDF came in though support. There are several graphics and gradients that shown using an incorrect colour model. This issue has to be looked at a little more closely but it appears that the likely culprit is a colour model failure due to the currently unsupported function 4 type.

      - Creating a function 4 interpreter should be to bad as there are lots of open source implementation available.
      - Correct colour issue.
      1. ficha--3--para impresion.pdf
        2.33 MB
        Patrick Corless
      2. Top 5 Internal Communication Practices.pdf
        1.62 MB
        Leon Carvalho

        Issue Links

          Activity

          Hide
          Patrick Corless added a comment -

          test case.

          Show
          Patrick Corless added a comment - test case.
          Hide
          Patrick Corless added a comment -

          Scheduling for 4.2, hopefully taking a closer look at the alternative colour space or implementing type 4 functions will do the trick.

          Show
          Patrick Corless added a comment - Scheduling for 4.2, hopefully taking a closer look at the alternative colour space or implementing type 4 functions will do the trick.
          Hide
          Patrick Corless added a comment -

          This pdf also has numerous examples of blending between transparency groups which would be a nice to have

          Show
          Patrick Corless added a comment - This pdf also has numerous examples of blending between transparency groups which would be a nice to have
          Hide
          Patrick Corless added a comment -

          I've implemented a type 4 function handling but the PDF in question still has some problems. The blue gradient is showing up correctly now that the type 4 function is being used however there appears to be other cmyk colour and masking issue with the file in question.

          Show
          Patrick Corless added a comment - I've implemented a type 4 function handling but the PDF in question still has some problems. The blue gradient is showing up correctly now that the type 4 function is being used however there appears to be other cmyk colour and masking issue with the file in question.
          Hide
          Patrick Corless added a comment -

          Quite a few improvement have been make in the rendering quality of the PDF in question. Still more work is needed to fix the transparency group issues. And the gradient background on the second page is not quite right colour wise.

          Show
          Patrick Corless added a comment - Quite a few improvement have been make in the rendering quality of the PDF in question. Still more work is needed to fix the transparency group issues. And the gradient background on the second page is not quite right colour wise.
          Hide
          Patrick Corless added a comment -

          The type 4 example has been update/fixed some time ago but this PDF sill has an unimplemented feature with respect to graphics states smask reference. Moving to 5.1 with the intent we add support.

          Show
          Patrick Corless added a comment - The type 4 example has been update/fixed some time ago but this PDF sill has an unimplemented feature with respect to graphics states smask reference. Moving to 5.1 with the intent we add support.
          Hide
          Leon Carvalho added a comment -

          I believe this file may be affected by the same issue. Hopefully, this will be useful, please disregard if not relevant.

          Show
          Leon Carvalho added a comment - I believe this file may be affected by the same issue. Hopefully, this will be useful, please disregard if not relevant.
          Hide
          Patrick Corless added a comment -

          I've flushed out most of what is needed to apply a basic image smask. There as still a some issue around a pattern based smask. So as a result I've dissabled this features by default until I can work out the pattern issue as well as few corner cases.

          The new system property is org.icepdf.core.disableXObjectSMask and defaults to true out of the box.

          Show
          Patrick Corless added a comment - I've flushed out most of what is needed to apply a basic image smask. There as still a some issue around a pattern based smask. So as a result I've dissabled this features by default until I can work out the pattern issue as well as few corner cases. The new system property is org.icepdf.core.disableXObjectSMask and defaults to true out of the box.
          Hide
          Patrick Corless added a comment -

          Addition of partial support for form (xobject) smask support. To enable this feature org.icepdf.core.disableXObjectSMask=false system property must be set.

          Show
          Patrick Corless added a comment - Addition of partial support for form (xobject) smask support. To enable this feature org.icepdf.core.disableXObjectSMask=false system property must be set.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: