Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.4.1
-
Linux Mint 17.1 64bit
Qt 5.4.1 prebuilt
-
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
- is duplicated by
-
QTBUG-66833 SVG images are blurry
- Closed
- relates to
-
QTBUG-89734 The "sourceSize" property value of the "Image" item is wrong
- Closed
-
QTBUG-58416 QtQuick Image: SVG Images are not properly scaled with High DPI Scaling
- Closed
- resulted in
-
QTBUG-94855 SVG rendering assumes 90 dpi
- Reported
-
QTBUG-58082 tst_qquickimage::imageSource() failed
- Closed
-
QTBUG-97450 Default sourceSize to implicit size * DPR for scalable images
- Closed