Class SepiaProcessor
Applies a sepia filter matrix using the given amount.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Processing.Processors.Filters
Assembly: SixLabors.ImageSharp.dll
Syntax
public sealed class SepiaProcessor : FilterProcessor, IImageProcessor
Constructors
| Improve this Doc View SourceSepiaProcessor(Single)
Initializes a new instance of the SepiaProcessor class.
Declaration
public SepiaProcessor(float amount)
Parameters
Type | Name | Description |
---|---|---|
Single | amount | The proportion of the conversion. Must be between 0 and 1. |
Properties
| Improve this Doc View SourceAmount
Gets the proportion of the conversion
Declaration
public float Amount { get; }
Property Value
Type | Description |
---|---|
Single |