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

        Arran Mccullough created issue -
        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.
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.1.3 [ 13086 ]
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49182 Thu Sep 08 15:38:33 MDT 2016 patrick.corless PDF-1019 fix clipping issue with gradient paints which was causing some issue with apply smasks.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/commands/FormDrawCmd.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49229 Mon Sep 19 09:27:57 MDT 2016 patrick.corless PDF-1019 rolled back some of the transparency changes, still need to crack this nut.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49491 Tue Nov 08 10:46:46 MST 2016 patrick.corless PDF-1019 fix clipping issue with gradient paints which was causing some issue with apply smasks.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/commands/FormDrawCmd.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49499 Tue Nov 08 11:06:40 MST 2016 patrick.corless PDF-1019 rolled back some of the transparency changes, still need to crack this nut.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: