Class LomographExtensions
Defines extensions that allow the recreation of an old Lomograph camera effect on an Image using Mutate/Clone.
Inherited Members
Namespace: SixLabors.ImageSharp.Processing
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class LomographExtensions
Methods
| Edit this page View SourceLomograph(IImageProcessingContext)
Alters the colors of the image recreating an old Lomograph camera effect.
Declaration
public static IImageProcessingContext Lomograph(this IImageProcessingContext source)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
Lomograph(IImageProcessingContext, Rectangle)
Alters the colors of the image recreating an old Lomograph camera effect.
Declaration
public static IImageProcessingContext Lomograph(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 |