ICEpdf
  1. ICEpdf
  2. PDF-972

PDF contains malformed external graphic state alpha

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1
    • Fix Version/s: 6.1.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      Any

      Description

      The PDF in question contains a external graphic state dictionary with he following value <</ca 100>>. The problem here is that a /ca value should be defined in range of 0->1.0. We have code that takes the 100 value and divides by 255 which is a common process for colour values.

      When the division happens we get a 0.39 transparency and the rendering of the graphics looks light. I think its safe to say the division/conversion code should be used for /ca and /CA values.

      This looks like an issue with the iPaper.Net encoder but I think we can fix this without to many regressions.

        Activity

        Hide
        Patrick Corless added a comment -

        Added fix to both the trunk and 6.1 branch.

        Show
        Patrick Corless added a comment - Added fix to both the trunk and 6.1 branch.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: