Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1.2
    • Fix Version/s: 6.1.3
    • Component/s: Core/Rendering
    • Labels:
      None
    • Environment:
      All

      Description

      With the provided PDF a few images seem to be cut off at the top of the pages. On the first page the main image is cut off. As well the vertical font on the right hand side isn't filled in. On the second page, the background image/colour is should go all the way to the top.

        Activity

        Hide
        Patrick Corless added a comment -

        The issue is related to an implementation issue with our support for blending modes and luminosity support in the PDF transparency model. If they should like to view the PDF with out the blending effects they can use the system property -Dorg.icepdf.core.disableTransparencyGroup= true which will give rendering behavior similar to 5.1.2.

        Show
        Patrick Corless added a comment - The issue is related to an implementation issue with our support for blending modes and luminosity support in the PDF transparency model. If they should like to view the PDF with out the blending effects they can use the system property -Dorg.icepdf.core.disableTransparencyGroup= true which will give rendering behavior similar to 5.1.2.
        Hide
        Patrick Corless added a comment -

        I spend quite a bit of time reworking our luminosity algorithm but still haven't had much luck cracking this nut fully. The cropped image is do to a an clipping issue when creating the buffers to apply the forms image mask. The second issue that came out of this was related to how we are apply the 'ca' alpha value to a blendComposite. While testing with this PDF it was found that the we don't apply an alpha to the multiply blending mode but rather add another alphaComposite with the alpha after. The generated the correct effect and make a few other PDF render correctly.

        Show
        Patrick Corless added a comment - I spend quite a bit of time reworking our luminosity algorithm but still haven't had much luck cracking this nut fully. The cropped image is do to a an clipping issue when creating the buffers to apply the forms image mask. The second issue that came out of this was related to how we are apply the 'ca' alpha value to a blendComposite. While testing with this PDF it was found that the we don't apply an alpha to the multiply blending mode but rather add another alphaComposite with the alpha after. The generated the correct effect and make a few other PDF render correctly.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: