Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-44863

Scaled SVG degraded quality in QML

    XMLWordPrintable

Details

    • 4bd5d6ced07d2d0e643a13e7cebb228c521d2046

    Description

      Rendering of scaled SVG resources in QML shows a degraded quality.
      I created some SVG images on my own with Inkscape.
      As long as they stay 1:1 they look OK in QML. When they are scaled, they seem to loose every vectorial property they have. Seems like the 1:1 image is scaled as if it was a bitmap.

      This results in a bad looking aliasing effect.
      See attached files.

      dimmer-back.svg: the test SVG file
      SVGTest.qml: can be tested with qmlscene
      qml_aliasing.png: the screenshot of the rendering in QML
      scaling_ok.png: the screenshot of the KDE preview. Any other software scales the SVG file OK (Gwenview, Gimp, etc..)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              vgt Eirik Aavitsland
              mcallegari79 Massimo Callegari
              Votes:
              13 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes