Return-Path: X-Original-To: apmail-pdfbox-dev-archive@www.apache.org Delivered-To: apmail-pdfbox-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6D4FF11F62 for ; Tue, 17 Jun 2014 17:58:09 +0000 (UTC) Received: (qmail 88726 invoked by uid 500); 17 Jun 2014 17:58:04 -0000 Delivered-To: apmail-pdfbox-dev-archive@pdfbox.apache.org Received: (qmail 88703 invoked by uid 500); 17 Jun 2014 17:58:04 -0000 Mailing-List: contact dev-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list dev@pdfbox.apache.org Received: (qmail 88687 invoked by uid 99); 17 Jun 2014 17:58:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2014 17:58:04 +0000 Date: Tue, 17 Jun 2014 17:58:04 +0000 (UTC) From: "Tilman Hausherr (JIRA)" To: dev@pdfbox.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PDFBOX-2104) Implement transparency groups MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PDFBOX-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14034127#comment-14034127 ] Tilman Hausherr commented on PDFBOX-2104: ----------------------------------------- The good news first: there are no regressions. There are several images that come up different as before. PDFBOX-1711: Problem solved PDFBOX-1058: difference, one slight improvement (the logo), but another difference shows that there was an error all the time and still is, in the two intersecting curves on page 1. PDFBOX-1691: improvement on page 2, "Fusswege zum Wasserwerk" PDFBOX-1711: big improvement, colors "almost" correct. PDFBOX-1577: Problem solved PDFBOX-1697: Problem solved Thanks Petr! Not so good news: there are still files where an area isn't rendered at all, e.g. PDFBOX-1451, the creston file (will attach this to the shading issue), p. 6 and 11 of the tracemonkey file (don't have the issue but there is one), the "texample" file, and PDFBOX-1940, although I can't tell if all this is a transparency issue or an "anomaly in the Matrix" issue. > Implement transparency groups > ----------------------------- > > Key: PDFBOX-2104 > URL: https://issues.apache.org/jira/browse/PDFBOX-2104 > Project: PDFBox > Issue Type: Improvement > Components: Rendering > Affects Versions: 2.0.0 > Reporter: Petr Slaby > Assignee: John Hewson > Labels: transparency > Fix For: 2.0.0 > > Attachments: 000001_MTEXT_CS6.pdf, TransparencyGroups.1.patch, TransparencyGroups.2.patch, TransparencyGroups.3.patch, TransparencyGroups.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.2#6252)