Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5376

Image interpolation when there shouldn't be

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.25
    • 2.0.26, 3.0.0 PDFBox
    • Rendering
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment