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
IImageProcessingContextThe current image processing context.
Returns
BlackWhite(IImageProcessingContext, Rectangle)
Applies black and white toning to the image.
public static IImageProcessingContext BlackWhite(this IImageProcessingContext source, Rectangle rectangle)
Parameters
source
IImageProcessingContextThe current image processing context.
rectangle
RectangleThe Rectangle structure that specifies the portion of the image object to alter.