Class PolaroidExtensions
- Namespace
- SixLabors.ImageSharp.Processing
- Assembly
- SixLabors.ImageSharp.dll
Defines extensions that allow the recreation of an old Polaroid camera effect on an Image using Mutate/Clone.
public static class PolaroidExtensions
- Inheritance
-
PolaroidExtensions
- Inherited Members
Methods
Polaroid(IImageProcessingContext)
Alters the colors of the image recreating an old Polaroid camera effect.
public static IImageProcessingContext Polaroid(this IImageProcessingContext source)
Parameters
source
IImageProcessingContextThe current image processing context.
Returns
Polaroid(IImageProcessingContext, Rectangle)
Alters the colors of the image recreating an old Polaroid camera effect.
public static IImageProcessingContext Polaroid(this IImageProcessingContext source, Rectangle rectangle)
Parameters
source
IImageProcessingContextThe current image processing context.
rectangle
RectangleThe Rectangle structure that specifies the portion of the image object to alter.