Table of Contents

FloydSteinbergDither.ConvertToBlackAndWhite Method

Overloads

FloydSteinbergDither.ConvertToBlackAndWhite(Bitmap, Bitmap)

Converts a true color image to black and white, using Floyd-Steinberg error diffusion.

Syntax

Namespace: FlexCel.Draw

public static void ConvertToBlackAndWhite(Bitmap Source, Bitmap Result)

Parameters

<-> Parameter Type Description
Source Bitmap Image to convert. Must be on Format32bppPArgb.
Result Bitmap Here we will draw the converted image. Must be Format1bppIndexed and have the same size as Source.

See also

FloydSteinbergDither.ConvertToBlackAndWhite(Bitmap)

Converts a true color image to black and white, using Floyd-Steinberg error diffusion.

Syntax

Namespace: FlexCel.Draw

public static Bitmap ConvertToBlackAndWhite(Bitmap Source)

Parameters

<-> Parameter Type Description
Source Bitmap The image we want to convert. Must be on Format32bppPArgb

Returns

The converted black and white image.

See also