ericb
October 8th, 2004, 06:44 PM
Hello !
I want to scale colors on an image, for this i'm using the ColorMatrix
it's working fiine util the result color component gets higher than 255
is there any way to tell cgi+ to clamp argb values, i want them to clamp between 0 and 255 (like in OpenGL when you scale colors, they clamp between 0 and 1)
eric
I want to scale colors on an image, for this i'm using the ColorMatrix
it's working fiine util the result color component gets higher than 255
is there any way to tell cgi+ to clamp argb values, i want them to clamp between 0 and 255 (like in OpenGL when you scale colors, they clamp between 0 and 1)
eric