Class GaussianBlurExtensions
Defines Gaussian blurring extensions to apply on an Image using Mutate/Clone.
Inherited Members
Namespace: SixLabors.ImageSharp.Processing
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class GaussianBlurExtensionsMethods
| Improve this Doc View SourceGaussianBlur(IImageProcessingContext)
Applies a Gaussian blur to the image.
Declaration
public static IImageProcessingContext GaussianBlur(this IImageProcessingContext source)Parameters
| Type | Name | Description | 
|---|---|---|
| IImageProcessingContext | source | The image this method extends. | 
Returns
| Type | Description | 
|---|---|
| IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. | 
GaussianBlur(IImageProcessingContext, Single)
Applies a Gaussian blur to the image.
Declaration
public static IImageProcessingContext GaussianBlur(this IImageProcessingContext source, float sigma)Parameters
| Type | Name | Description | 
|---|---|---|
| IImageProcessingContext | source | The image this method extends. | 
| Single | sigma | The 'sigma' value representing the weight of the blur. | 
Returns
| Type | Description | 
|---|---|
| IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. | 
GaussianBlur(IImageProcessingContext, Single, Rectangle)
Applies a Gaussian blur to the image.
Declaration
public static IImageProcessingContext GaussianBlur(this IImageProcessingContext source, float sigma, Rectangle rectangle)Parameters
| Type | Name | Description | 
|---|---|---|
| IImageProcessingContext | source | The image this method extends. | 
| Single | sigma | The 'sigma' value representing the weight of the blur. | 
| Rectangle | rectangle | The Rectangle structure that specifies the portion of the image object to alter. | 
Returns
| Type | Description | 
|---|---|
| IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |