I have accepted your alternative. But the essence of the topic is "Simple Conversion". Using pointers with unsafe is more efficient than color matrix. But the mentioned code here ( in main tip) is much simpler and the same loop can be used to produce binary image, edge detection, any other transform.
Also the gray scale value can be obtained just by taking the average of R,G,B and replace it in all three channels.
Last Visit: 31-Dec-99 18:00 Last Update: 16-May-21 13:47