Tilman Hausherr created PDFBOX-5376:
---------------------------------------

             Summary: 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
             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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to