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

Scaled SVG degraded quality in QML

XMLWordPrintable

    • 4bd5d6ced07d2d0e643a13e7cebb228c521d2046

      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..)

        For Gerrit Dashboard: QTBUG-44863
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes