|
|
@ -12,7 +12,7 @@ namespace SixLabors.ImageSharp.Processing |
|
|
public static class FilterExtensions |
|
|
public static class FilterExtensions |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Filters an image but the given color matrix
|
|
|
/// Filters an image by the given color matrix
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
/// <param name="source">The image this method extends.</param>
|
|
|
/// <param name="source">The image this method extends.</param>
|
|
|
/// <param name="matrix">The filter color matrix</param>
|
|
|
/// <param name="matrix">The filter color matrix</param>
|
|
|
@ -21,7 +21,7 @@ namespace SixLabors.ImageSharp.Processing |
|
|
=> source.ApplyProcessor(new FilterProcessor(matrix)); |
|
|
=> source.ApplyProcessor(new FilterProcessor(matrix)); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Filters an image but the given color matrix
|
|
|
/// Filters an image by the given color matrix
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
/// <param name="source">The image this method extends.</param>
|
|
|
/// <param name="source">The image this method extends.</param>
|
|
|
/// <param name="matrix">The filter color matrix</param>
|
|
|
/// <param name="matrix">The filter color matrix</param>
|
|
|
@ -32,4 +32,4 @@ namespace SixLabors.ImageSharp.Processing |
|
|
public static IImageProcessingContext Filter(this IImageProcessingContext source, ColorMatrix matrix, Rectangle rectangle) |
|
|
public static IImageProcessingContext Filter(this IImageProcessingContext source, ColorMatrix matrix, Rectangle rectangle) |
|
|
=> source.ApplyProcessor(new FilterProcessor(matrix), rectangle); |
|
|
=> source.ApplyProcessor(new FilterProcessor(matrix), rectangle); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|