pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (PDFBOX-2104) Implement transparency groups
Date Mon, 23 Jun 2014 06:52:24 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14034127#comment-14034127
] 

Tilman Hausherr edited comment on PDFBOX-2104 at 6/23/14 6:51 AM:
------------------------------------------------------------------

The good news first: there are no regressions.

There are several images that come up different as before.
PDFBOX-1772: 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
PDFBOX-1562: Problem solved

Thanks Petr!

Not so good news: there are still files where an area isn't rendered at all, e.g. p. 6 of
the tracemonkey file (PDFBOX-1875), the "texample" file (PDFBOX-1968), and PDFBOX-1947, although
I can't tell if all this is a transparency issue or an "anomaly in the Matrix" issue.


was (Author: tilman):
The good news first: there are no regressions.

There are several images that come up different as before.
PDFBOX-1772: 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
PDFBOX-1562: 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 crestron-p9 file (will attach this to PDFBOX-1915), p. 6 and 11 of the tracemonkey file
(PDFBOX-1875), the "texample" file (PDFBOX-1968), and PDFBOX-1947, 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)

Mime
View raw message