Applying colorfilter in QML, of QT
Sil20 last edited by
I would loke to apply predefined or custom color filter on my QML application like :
- change Image RGB Level
Ideally I would like to lower the "light" level off all the display unless the pixel Saturation is higher than XXX. This for simulating a lowering of the Ambient light without changing the part of the picture which represent Lights,LED, and all light producing element.
The following snapshot represent a LED with and without the EFFECT. BUT I would like the lit LED to be brigher:
I know I will probably not find directly this filter, but a generic filter mechanism would really help. Does anyone know about such a filter??
Jens last edited by
You can do this generically using a ShaderEffect item:
And these are the ready made effects that mostly seem to cover your use case:
Note in both cases this only works on Qt 5.0 and Qt Quick 2.0