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 LomographExtensionsMethods
| Improve this Doc 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 image this method extends. | 
Returns
| Type | Description | 
|---|---|
| IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. | 
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 image this method extends. | 
| 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. |