mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
546 B
16 lines
546 B
// Copyright (c) Six Labors.
|
|
// Licensed under the Six Labors Split License.
|
|
|
|
using SixLabors.ImageSharp.Processing;
|
|
|
|
namespace SixLabors.ImageSharp.Tests.Processing.Processors.Convolution;
|
|
|
|
[Trait("Category", "Processors")]
|
|
[GroupOutput("Convolution")]
|
|
public class BoxBlurTest : Basic1ParameterConvolutionTests
|
|
{
|
|
protected override void Apply(IImageProcessingContext ctx, int value) => ctx.BoxBlur(value);
|
|
|
|
protected override void Apply(IImageProcessingContext ctx, int value, Rectangle bounds) =>
|
|
ctx.BoxBlur(value, bounds);
|
|
}
|
|
|