[ https://issues.apache.org/jira/browse/PDFBOX-5403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17515215#comment-17515215 ]
Oliver Schmidtmer commented on PDFBOX-5403: ------------------------------------------- I think there is some issue with placing the alpha mask. If I just set the pixels to "{color:#000000}raster{color}.setPixel(x, y, {color:#0033b3}new int{color}[]{ {color:#1750eb}0{color}, {color:#1750eb}0{color}, {color:#1750eb}0{color}, alphaPixel[{color:#1750eb}0{color}]});" there is a line, which hints on an offset in theĀ {color:#000000}renderedMask-images. {color} {color:#000000}Setting "raster.setPixel(x, y, {color:#0033b3}new int{color}[]{ {color:#1750eb}0{color}, {color:#1750eb}0{color}, {color:#1750eb}0{color}, 255});" would cause a closed black.{color} {color:#000000}This then also messes up [^gs-bugzilla692158-schleuse-veryslow.pdf] showing a grid pattern.{color} !image-2022-03-31-11-55-36-061.png! > Blurry / distorted rendering > ---------------------------- > > Key: PDFBOX-5403 > URL: https://issues.apache.org/jira/browse/PDFBOX-5403 > Project: PDFBox > Issue Type: Bug > Components: Rendering > Affects Versions: 2.0.25 > Reporter: Oliver Schmidtmer > Priority: Major > Attachments: alpha_interpolation.patch, bad rendering.pdf, > image-2022-03-29-18-29-03-860.png, image-2022-03-30-14-39-12-855.png, > image-2022-03-31-11-55-36-061.png > > > The attached PDF uses many stripes with an image and a mask. > There seems to be an issue when mask and image are combined. > !image-2022-03-29-18-29-03-860.png|width=518,height=91! -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org