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
source
IImageProcessingContextThe current image processing context.
matrix
ColorMatrixThe 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
source
IImageProcessingContextThe current image processing context.
matrix
ColorMatrixThe filter color matrix
rectangle
RectangleThe Rectangle structure that specifies the portion of the image object to alter.