QML Image show bad gradient quality
Hi,
Trying to use a background image that have a gradient with QML Image element gives a bad quality in the phone, as in the screenshots bellow: Original: http://db.tt/FGWEzXhn In the phone: http://db.tt/3SDeDjT3 With both N9 and N950, the code used (with different options and test) : Code:
Image { |
Re: QML Image show bad gradient quality
I still am unsure whether the N9 supports true color (16.8 million) graphics. I've seen this banding-effect on more occasions. It might be affected by screen dimming as well.
You could try to use a 16bpp image but with dithering applied. |
Re: QML Image show bad gradient quality
I forget to note that the N9 Gallery shows the image correctly, just in my application it show it like in the screenshot.
|
Re: QML Image show bad gradient quality
Quote:
|
Re: QML Image show bad gradient quality
Quote:
You can't really apply dithering filters in real time in a mobile device. Especially not in gallery where you scroll through 8 MP images so fast. I think it's most likely due to the way the image is called by the OS. It looks more like a software problem rather than a hardware problem to me. |
Re: QML Image show bad gradient quality
Image gallery doesn't use qml
I bet it applies filters in qimage or something like that. Try to do the same. |
Re: QML Image show bad gradient quality
Quote:
Quote:
|
Re: QML Image show bad gradient quality
Quote:
|
Re: QML Image show bad gradient quality
The device is capable of 24-bit color, just configured to run at 16-bit depth.
Code:
~ # xdpyinfo | grep 'depth of root' Anyway, I think you can use QImage::convertToFormat to get 16-bit with dithering. |
All times are GMT. The time now is 10:02. |
vBulletin® Version 3.8.8