Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.6, 5.13.2
-
None
Description
https://doc.qt.io/qt-5/qml-qtquick-image.html#sourceSize-prop says "[setting sourceSize to 1024x1024] ensures the image in memory is no larger than 1024x1024 pixels".
Looking at QQuickImageBase::load, it seems that sourceSize is scaled by devicePixelRatio. so for svgs and image urls (not entirely sure what that includes, see QQuickImageBasePrivate::updateDevicePixelRatio), this statement is not correct.
Generally, any hint in the docs how that property works together with dpi scaling would be appreciated.
Attachments
Issue Links
- relates to
-
QTBUG-77248 QML Image component doesn't apply devicePixelRatio for sourceSize for PNG sources
- Reported
-
QTBUG-79544 QML Image component doesn't apply devicePixelRatio for network sources
- Reported