Click or drag to resize
BitmapExtrasOnlyAllowBlackAndColour Method
replace all colours apart from the one passed in with white, and the passed in colour as black

Namespace: ANDREICSLIB.ClassExtras
Assembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Bitmap OnlyAllowBlackAndColour(
	Bitmap Bmp,
	int r,
	int g,
	int b
)

Parameters

Bmp
Type: System.DrawingBitmap
r
Type: SystemInt32
g
Type: SystemInt32
b
Type: SystemInt32

Return Value

Type: Bitmap
See Also