You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/01/04 16:46:58 UTC

[jira] [Comment Edited] (PDFBOX-3000) Transparency Group issues

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

Tilman Hausherr edited comment on PDFBOX-3000 at 1/4/17 4:46 PM:
-----------------------------------------------------------------

Re the last commit: I've mentioned before that the softmask handling of pixels outside of the box is wrong, but when I corrected it lots of files were rendered poorly (see comment on Dec 10, 2016). The file PDFJS-6967_reduced_outside_softmask.pdf shows why: that one has a softmask that is empty because it is outside of everything, see {{Root/Pages/Kids/\[0]/Resources/XObject/Fm0/Resources/ExtGState/GS0/SMask/G/BBox}}. Instead of using the /bc value, Adobe just ignores it. So we'll ignore empty softmasks (which is also the old behaviour in softmask.java for pixels outside). But non empty softmasks that cover only a part of a group now won't be ignored, from now on the /bc value will be used. The gs-bugzilla689309-reduced--bc files show this.


was (Author: tilman):
Re the last commit: I've mentioned before that the softmask handling of pixels outside of the box is wrong, but when I corrected it lots of files were rendered poorly (see comment on Dec 10, 2016). The file PDFJS-6967_reduced_outside_softmask.pdf shows why: that one has a softmask that is empty because it is outside of everything. Instead of using the /bc value, Adobe just ignores it. So we'll ignore empty softmasks (which is also the old behaviour in softmask.java for pixels outside). But non empty softmasks that cover only a part of a group now won't be ignored, from now on the /bc value will be used. The gs-bugzilla689309-reduced--bc files show this.

> Transparency Group issues
> -------------------------
>
>                 Key: PDFBOX-3000
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3000
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: John Hewson
>             Fix For: 2.1.0
>
>         Attachments: 007087-payment-due-p58_reduced2.pdf, PDFBOX-1697-reduced-rotations.pdf, PDFBOX-2182_mod.pdf, PDFBOX-3400-RGB.pdf, PDFBOX-3494_reduced.pdf, PDFBOX-3494_reduced_cropX.pdf, PDFBOX-3564-Mask.pdf, PDFBox3359PanelTestEnhanced.java, PDFJS-2845-p1.pdf, PDFJS-5811-2-p3_reduced.pdf, PDFJS-5811-2-p3_reduced4.pdf, PDFJS-5811-2-p4_reduced-rotations.pdf, PDFJS-5811-2.pdf, PDFJS-5853_reduced.pdf, PDFJS-6967_reduced_outside_softmask.pdf, circle-simple.pdf, ds-firewall-enterprise-p1_reduced.pdf, gs-bugzilla689309-reduced-bc0.pdf, gs-bugzilla689309-reduced-bc1.pdf, gs-bugzilla689309-reduced.pdf, gs-bugzilla691157.pdf, gs-bugzilla691157_mod_unc.pdf, gs-bugzilla691157_mod_unc.png, gs-bugzilla691348.pdf, gs-bugzilla692217_reduced.pdf, gs-bugzilla693322_reduced.pdf, gs-bugzilla694556-3.pdf, gs-bugzilla695354.pdf, gs-bugzilla695582-transparency-fill-stroke.pdf, gs-bugzilla695582-transparency-fill-stroke.pdf-1.png, samsung_galaxy_s_4_um-p1_reduced.pdf, snowman-nose-gradient-rgb.pdf, snowman-nose-gradient-rgb_reduced-0.6-bad2.pdf, snowman-nose-gradient-rgb_reduced-0.7-good2.pdf, snowman-nose-gradient-screenshot-comparison-11.12.2016.jpg, snowman-nose-gradient.pdf, snowmen-opacity-clipping-masks-2.0.3.png, snowmen-opacity-clipping-masks-2.1-SNAPSHOT-10.12.2016.png, snowmen-opacity-clipping-masks-2.1.0-SNAPSHOT-2016-12-07.png, snowmen-opacity-clipping-masks-adobe-illustrator.png, snowmen-opacity-clipping-masks.pdf, softmask-rewrite-alt1.patch, softmask-rewrite.patch
>
>
> This is a follow-up issue for transparency group issues from PDFBOX-2423. More details to come.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org