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

Oliver Schmidtmer commented on PDFBOX-5403:
-------------------------------------------

There are alpha values between 0 and 255, so I tried adding interpolation.

I think it improves somewhat, but I think there is still another issue. There 
are 1px lines which I think are caused by an offset between image and mask, 
which generally lowers the image quality. That is visible before and after my 
changes.

I have another PDF, where this is more noticable. However, I am waiting whether 
our customer allows to share it.

!image-2022-03-30-14-39-12-855.png|width=634,height=352!

> 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
>
>
> 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

Reply via email to