Hi,
I am having trouble understanding the logic of the Color Brighter effect. The Color Darker effect is quite simple... it takes each RGB component and multiplies it by 0.9 resulting in moving the color 10% of the distance towards black. I would have thought that the Brighten effect would move a color 10% of the distance towards white. Instead it has logic that changes Black (0,0,0) to (10,10,10), any R, G, or B value less than 10 to 11, and any R, G, or B value greater than 10 gets divided by 0.9. This results in a greater change, the brighter the source color. A simple replacement for the current Brighter effect would be:
r=int( (25.5 + 0.9 * r); g=int( (25.5 + 0.9 * g); b=int( (25.5 + 0.9 * b);
One can see easily see that these equations have the right limits for what I would have expected.
Tav