ReplaceColor

Replaces a color within the current image.

public ImageFactory ReplaceColor(Color target, Color replacement, int fuzziness = 0)
    

Parameters

target
The target System.Drawing.Color
replacement
The replacement System.Drawing.Color
fuzziness
A value between 0 and 128 with which to alter the target detection accuracy.

Examples

Original

original image

Color Replaced

image with color replaced