Table of Contents

Method ConvertToMono

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

ConvertToMono(RGBValue)

Returns monochromatic version of the image.

public virtual GenericImage ConvertToMono(RGBValue rgb)

Parameters

rgb RGBValue

RGB color.

Returns

GenericImage

The returned image has white color where the original has (r,g,b) color and black color everywhere else.