S
Smokey Grindle
How can you "inverse" a color in GDI+? Say the color I have is blue, the
inverse of that is yellow... how would you go about doing this? is there a
simpler way then taking the RGB values and takeing the difference from 255?
Say blue is 0,0,255
the inverse would be 255,255,0 which is yellow, is masking this the only way
to go?
0 0 255
- 255 255 255
==============
-255 -255 0
ABS(result) = 255,255,0
? or am i going the wrong way with this and there is an easier way. thanks!
inverse of that is yellow... how would you go about doing this? is there a
simpler way then taking the RGB values and takeing the difference from 255?
Say blue is 0,0,255
the inverse would be 255,255,0 which is yellow, is masking this the only way
to go?
0 0 255
- 255 255 255
==============
-255 -255 0
ABS(result) = 255,255,0
? or am i going the wrong way with this and there is an easier way. thanks!