While I understand the logic in the "lighter" (and darker) code, which 
basically converts to a HSV then uses the value sent into lighter (or darker) 
on the HSV value to compute the new value, then convert to RGB and return.

It fails when the color being lightened is black, is the HSV V = 0, multiplying 
it of course yields the same 0.

IMO, this is a bug, and needs a corner case  if statement (ie, if V = 0, v = 
10... ) but not being a HSV expert (heck barely a noob when it comes to HSV 
manipulation) I have no idea what the new value should be for a given V being 
sent into lighter.

Any ideas?

Scott


_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to