[Interest] QML Qt.lighter() for images?

Jérôme Godbout jerome at bodycad.com
Fri Dec 5 05:23:56 CET 2014


You can take a look at GraphicalEffect module. It’s probably what you are looking for: 
http://qt-project.org/doc/qt-5/graphicaleffects.html

> On Dec 4, 2014, at 11:06 PM, Jason H <jhihn at gmx.com> wrote:
> 
> I'm running into a common issue, where I have art - PNG and SVG that I wish to use the color functions on. I can either generate this art statically, which isn't great or I can convert it to a Canvas, which I can change the color dynamically. It works, kinda. I have to manually request the paint (requestPaint()) and only works when I can manage the pen appropriately.
> 
> It would be really cool if we could use the color modifiers on images too. Is there a way to do this?
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list