System.Drawing
Offset= 127 - Accumulator / (3 * pixel count);
Red= (Red < 0) ? 0 : ((Red > 255) ? 255 : Red);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)