Class FilterExtensions
- Namespace
- SixLabors.ImageSharp.Processing
- Assembly
- SixLabors.ImageSharp.dll
Defines extensions that allow the application of composable filters to an Image using Mutate/Clone.
public static class FilterExtensions
- Inheritance
-
FilterExtensions
- Inherited Members
Methods
Filter(IImageProcessingContext, ColorMatrix)
Filters an image by the given color matrix
public static IImageProcessingContext Filter(this IImageProcessingContext source, ColorMatrix matrix)
Parameters
sourceIImageProcessingContextThe current image processing context.
matrixColorMatrixThe filter color matrix
Returns
Filter(IImageProcessingContext, ColorMatrix, Rectangle)
Filters an image by the given color matrix
public static IImageProcessingContext Filter(this IImageProcessingContext source, ColorMatrix matrix, Rectangle rectangle)
Parameters
sourceIImageProcessingContextThe current image processing context.
matrixColorMatrixThe filter color matrix
rectangleRectangleThe Rectangle structure that specifies the portion of the image object to alter.