Converts a true color image (24 bit) to black/white (1 bit)

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public void ConvertToBlackWhite(
	IEImage..::..DitherType ditherType
)
Public Sub ConvertToBlackWhite ( _
	ditherType As IEImage..::..DitherType _
)
public:
void ConvertToBlackWhite(
	IEImage..::..DitherType ditherType
)

Parameters

ditherType
IEImage..::..DitherType
The dithering algorithm used to convert the image. If ditherType.Threshold is -1, the threshold value will be 128 for default.

Examples

CopyC#
Image.ConvertToBlackWhite(IEImage.DitherType.Ordered);
Image.ConvertToBlackWhite(IEImage.DitherType.Threshold);  // threshold=128 for default

See Also