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

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

Next try  :)

scaleX/scaleY (m00, m11) in the Matrix might be 0.0. In those the shearing 
(m01, m10) are non 0.0. That probably is a 90° rotation. If those are used for 
scaling it works.
Then again, if the factor is too small, the result still gets too blurry. For 
that I added the <.25 -> *2 loop.

 [^inverse-smooth-scale-shear.patch] 

> 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, inver-smooth-scale.patch, 
> inverse-smooth-scale-shear.patch
>
>
> 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