Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 6.0
    • Fix Version/s: 6.4
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The file in question has an image that uses a smask to define parent images transparent areas. For some reason the blending algorithm that applies the smask data on the main image data is producing some darker colours.

      Further investigation is needed to track down what is going on with this file.

        Activity

        Hide
        Patrick Corless added a comment -

        Further investigation and work done for better compatibility of transparency (PDF-289) has shone some light on the issue. The xObject containing the base image contains an /matte attribute which specifies a color the image was pre blended with. The specification states:

        "When preblended image data is used in transparency blending and compositing computations, the results shall be the same as if the original, unblended image data were used and no matte colour were specified. In particular, the inputs to the blend function shall be the original colour values. To derive c from c′, the conforming reader may sometimes need to invert the formula shown previously. The resulting c value shall lie within the range of colour component values for the image colour space."

        I'll need to experiment to see if we can correct of the preblended colour.

        Show
        Patrick Corless added a comment - Further investigation and work done for better compatibility of transparency ( PDF-289 ) has shone some light on the issue. The xObject containing the base image contains an /matte attribute which specifies a color the image was pre blended with. The specification states: "When preblended image data is used in transparency blending and compositing computations, the results shall be the same as if the original, unblended image data were used and no matte colour were specified. In particular, the inputs to the blend function shall be the original colour values. To derive c from c′, the conforming reader may sometimes need to invert the formula shown previously. The resulting c value shall lie within the range of colour component values for the image colour space." I'll need to experiment to see if we can correct of the preblended colour.

          People

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

            Dates

            • Created:
              Updated: