[
https://issues.apache.org/jira/browse/PDFBOX-6077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18105236#comment-18105236
]
Tilman Hausherr commented on PDFBOX-6077:
-----------------------------------------
[~vbokov]
I ran my regression tests with
{code:java}
if (rasterPixel[3] != 0)
rasterPixel[3] = alphaPixel[0];
{code}
which is closer to the old code that didn't "combine" (and would allow more
optimizations). Because the old code didn't "combine". There were only minor
differences in the rendering results. It would also be closer to my initial
remarks which noticed large transparent areas.
> Image masks do not work well with patterns
> ------------------------------------------
>
> Key: PDFBOX-6077
> URL: https://issues.apache.org/jira/browse/PDFBOX-6077
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.34, 3.0.5 PDFBox
> Reporter: JaromÃr Dobrý
> Priority: Major
> Labels: Stencil, regression
> Fix For: 2.0.38, 3.0.9 PDFBox, 4.0.0
>
> Attachments: PDFBOX-5842-reduced.pdf, correct.png, example.pdf,
> screenshot-1.png, wrong.png
>
>
> To reproduce, open the attached [^example.pdf] in PDF Debugger. The correct
> and actual wrong result are both attached to illustrate the problem.
> It seems that the bug was introduced with a fix of PDFBOX-5403.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]