ICEpdf
  1. ICEpdf
  2. PDF-350

Enhance transparency groups implementation to avoid loss of render quality.

    Details

    • Type: Improvement Improvement
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.2.2
    • Fix Version/s: None
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      A few releases ago basic support for transparency group support was added. Mainly transparency support for a group of shapes and knockouts.

      The current implementation will detect a transparency group flag on the form object. If detected painting is deferred and the shapes painted to image so that a transparency group can be applied. The problem with this approach is that image will look blurred as document zoom is applied.

      It may be possible to spawn a new graphics context with g2d.createGraphics() in a similar but alternative means to creating the image. A little bit of research needs to be done here.

        Issue Links

          Activity

          Patrick Corless created issue -
          Patrick Corless made changes -
          Field Original Value New Value
          Salesforce Case []
          Fix Version/s 4.3 [ 10266 ]
          Hide
          Patrick Corless added a comment -

          I've been working on an over fix for transparency group support and soft masking for groups. Still a lot of work to do, moving out to 5.0.

          Show
          Patrick Corless added a comment - I've been working on an over fix for transparency group support and soft masking for groups. Still a lot of work to do, moving out to 5.0.
          Patrick Corless made changes -
          Salesforce Case []
          Fix Version/s 5.0 [ 10314 ]
          Fix Version/s 4.3 [ 10266 ]
          Patrick Corless made changes -
          Link This issue blocks PDF-289 [ PDF-289 ]
          Patrick Corless made changes -
          Link This issue blocks PDF-373 [ PDF-373 ]
          Hide
          Patrick Corless added a comment -

          A user on the forms has also reported the render quality issue. Pretty sure I should remove the code in question. http://jforum.icesoft.org/JForum/posts/list/0/20778.page

          Show
          Patrick Corless added a comment - A user on the forms has also reported the render quality issue. Pretty sure I should remove the code in question. http://jforum.icesoft.org/JForum/posts/list/0/20778.page
          Patrick Corless made changes -
          Salesforce Case []
          Component/s Core [ 10022 ]
          Fix Version/s 4.3.3 [ 10333 ]
          Fix Version/s 5.0 [ 10314 ]
          Hide
          Patrick Corless added a comment -

          I've reverted the xform code back to standard drawing with out the back buffer. This addresses the quality issues, further work will be done to try a different approach to achieving transparency groups effects.

          Show
          Patrick Corless added a comment - I've reverted the xform code back to standard drawing with out the back buffer. This addresses the quality issues, further work will be done to try a different approach to achieving transparency groups effects.
          Patrick Corless made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Patrick Corless added a comment -

          attached the wrong bug for this case. Updated ContentParser and Shapes in rev 28864.

          Show
          Patrick Corless added a comment - attached the wrong bug for this case. Updated ContentParser and Shapes in rev 28864.
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #30260 Wed Jul 25 17:41:45 MDT 2012 patrick.corless PDF-350 addition of property org.icepdf.core.disableTransparencyGroup to enable user to turn off transparency group support when raster quality is too low.
          Files Changed
          Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/ContentParser.java
          Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/Shapes.java
          Hide
          Patrick Corless added a comment -

          needs more work...

          Show
          Patrick Corless added a comment - needs more work...
          Patrick Corless made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Patrick Corless made changes -
          Salesforce Case []
          Fix Version/s 4.5 [ 10342 ]
          Fix Version/s 4.3.3 [ 10333 ]
          Hide
          Patrick Corless added a comment -

          Transparency groups have been reworked a bit in 4.3.3 but the implementation in general needs quite a bit more work. The PDF in question can be rendered at full quality if the system property -Dorg.icepdf.core.disableTransparencyGroup=true.

          Show
          Patrick Corless added a comment - Transparency groups have been reworked a bit in 4.3.3 but the implementation in general needs quite a bit more work. The PDF in question can be rendered at full quality if the system property -Dorg.icepdf.core.disableTransparencyGroup=true.
          Patrick Corless made changes -
          Link This issue blocks PDF-417 [ PDF-417 ]
          Patrick Corless made changes -
          Fix Version/s 5.0 [ 10314 ]
          Fix Version/s 4.5 [ 10342 ]
          Patrick Corless made changes -
          Fix Version/s 5.1 [ 10675 ]
          Fix Version/s 5.0 [ 10314 ]
          Patrick Corless made changes -
          Fix Version/s 5.2 [ 10970 ]
          Fix Version/s 5.1 [ 10675 ]
          Patrick Corless made changes -
          Fix Version/s 5.3 [ 12070 ]
          Fix Version/s 5.2 [ 10970 ]
          Patrick Corless made changes -
          Fix Version/s 6.0.2 [ 12971 ]
          Fix Version/s 6.1 [ 12070 ]
          Patrick Corless made changes -
          Fix Version/s 6.1 [ 12070 ]
          Fix Version/s 6.0.2 [ 12971 ]
          Hide
          Patrick Corless added a comment -

          Our smak algorithm as been improved to do a better job of blending alpha. Further work is need to explore if the matte entry can be used to properly decode this.

          Show
          Patrick Corless added a comment - Our smak algorithm as been improved to do a better job of blending alpha. Further work is need to explore if the matte entry can be used to properly decode this.
          Patrick Corless made changes -
          Fix Version/s 6.1 [ 12070 ]

            People

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

              Dates

              • Created:
                Updated: