How to create grayscale images on .NET

In this example we will use simple color recalculation method to grayscale images. For each pixel on image we will calculate "average color" that we write back on image. Average color is sum of current color's red, green and blue channels integer value divided by three. This value is assigned to all three channels for current pixel.

 

NB! This blog is moved to gunnarpeipman.com

Click here to go to article

2 Comments

Comments have been disabled for this content.