Table of Contents

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 IImageProcessingContext

The current image processing context.

Returns

IImageProcessingContext

The IImageProcessingContext.

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 IImageProcessingContext

The current image processing context.

rectangle Rectangle

The Rectangle structure that specifies the portion of the image object to alter.

Returns

IImageProcessingContext

The IImageProcessingContext.