Table of Contents

Class BlackWhiteExtensions

Namespace
SixLabors.ImageSharp.Processing
Assembly
SixLabors.ImageSharp.dll

Defines extension methods that allow the application of black and white toning to an Image using Mutate/Clone.

public static class BlackWhiteExtensions
Inheritance
BlackWhiteExtensions
Inherited Members

Methods

BlackWhite(IImageProcessingContext)

Applies black and white toning to the image.

public static IImageProcessingContext BlackWhite(this IImageProcessingContext source)

Parameters

source IImageProcessingContext

The current image processing context.

Returns

IImageProcessingContext

The IImageProcessingContext.

BlackWhite(IImageProcessingContext, Rectangle)

Applies black and white toning to the image.

public static IImageProcessingContext BlackWhite(this IImageProcessingContext source, Rectangle rectangle)

Parameters

source IImageProcessingContext

The current image processing context.

rectangle Rectangle

The Rectangle structure that specifies the portion of the image object to alter.

Returns

IImageProcessingContext

The IImageProcessingContext.