You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/02/14 18:09:00 UTC

[jira] [Commented] (PDFBOX-5376) Image interpolation when there shouldn't be

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

ASF subversion and git services commented on PDFBOX-5376:
---------------------------------------------------------

Commit 1898079 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1898079 ]

PDFBOX-5376: use absolutes

> Image interpolation when there shouldn't be
> -------------------------------------------
>
>                 Key: PDFBOX-5376
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5376
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.25
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.26, 3.0.0 PDFBox
>
>
> Two elements in the rendering of this file (by Kurt Pfeifle)
> https://github.com/angea/PDF101/blob/master/handcoded/111_current-transformation-matrix-ctm.pdf
> look like shadings but they are not, it's a tiny image. The cause is a miscalculation of {{isScaledUp}} which didn't take into account that {{getScalingFactorX()}} / {{getScalingFactorY()}} may return negative values.
> Rendering after the change has mostly invisible differences except for PATTYP2.pdf where they are easier to see.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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