Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2104

Implement transparency groups



    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Rendering
    • Labels:


      The attached PDF uses transparency groups, blending and soft masks to create the rounded corners and shades behind images. It appears that these features are not implemented in PDFBox. An implementation proposal is attached in the TransparencyGroup.patch. The basic idea is to create a buffered image, draw the transparency group content onto it and then use the result to produce the soft mask or draw the image on the original g2d.

      Note: I am not the (only) author of the proposed change. It was developed in our company few years ago in sources based on a 1.7.x version of PDFBox, mostly by a guy who already left. Over the years, merging of the work done in PDFBox main stream into our source base has become impossible due to many refactorings and other deep going changes done. Now we would like to go the opposite way - where possible - bring the changes and fixes we have done into PDFBox main stream and start to use it in our installations.


        1. 000001_MTEXT_CS6.pdf
          923 kB
          Petr Slaby
        2. TransparencyGroups.1.patch
          86 kB
          Petr Slaby
        3. TransparencyGroups.2.patch
          69 kB
          Petr Slaby
        4. TransparencyGroups.3.patch
          65 kB
          Petr Slaby
        5. TransparencyGroups.patch
          94 kB
          Petr Slaby

          Issue Links



              • Assignee:
                jahewson John Hewson
                pslabycz Petr Slaby
              • Votes:
                0 Vote for this issue
                7 Start watching this issue


                • Created: