Class PolaroidExtensions
Defines extensions that allow the recreation of an old Polaroid camera effect on an Image using Mutate/Clone.
Inherited Members
Namespace: SixLabors.ImageSharp.Processing
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class PolaroidExtensions
Methods
| Edit this page View SourcePolaroid(IImageProcessingContext)
Alters the colors of the image recreating an old Polaroid camera effect.
Declaration
public static IImageProcessingContext Polaroid(this IImageProcessingContext source)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
Polaroid(IImageProcessingContext, Rectangle)
Alters the colors of the image recreating an old Polaroid camera effect.
Declaration
public static IImageProcessingContext Polaroid(this IImageProcessingContext source, Rectangle rectangle)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
Rectangle | rectangle | The Rectangle structure that specifies the portion of the image object to alter. |
Returns
Type | Description |
---|---|
IImageProcessingContext |