Any good source of explanatory documentation on ColorMatrix?
Posted
by mackenir
on Stack Overflow
See other posts from Stack Overflow
or by mackenir
Published on 2010-06-08T12:23:56Z
Indexed on
2010/06/08
12:32 UTC
Read the original article
Hit count: 354
colormatrix
|system.drawing.imaging
I'd like to try using ColorMatrix, but am only able to find examples that convert an image to grayscale. And even then, they tend to be presented as a chunk of 'magic numbers' code with no explanation.
Does anyone know of a 'tutorial' on how to use ColorMatrix? For example I'd be interested in converting a grayscale image to a color image, where white == transparent, and black = a solid color, with gray pixels somewhere in between. Could ColorMatrix do that?
© Stack Overflow or respective owner