Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
5.3.0 Beta1, 5.6.0 RC, 5.9.3
-
-
428b92583ee2102c7ef16776a9b7785df7ff4e2c
Description
I implement my own image provider, and on iOS devices with a devicePixelRatio of 2, the images look blurry.
The sourceSize on the QML side is defined in "non-retina" dimensions. The default way of implementing QQuickImageProvider::requestImage() will return an image of that size which will appear blurry on the iPhone/iPad.
See attached example.
And no matter which kind of trick I try in QQuickImageProvider::requestImage(), I am not able to see a crisp image in my QML scene.
Is there a way of handling this properly (ideally on the C++ side)? Or is devicePixelRatio not supported by QQmlImageProvider?