Class SepiaProcessor
- Namespace
- SixLabors.ImageSharp.Processing.Processors.Filters
- Assembly
- SixLabors.ImageSharp.dll
Applies a sepia filter matrix using the given amount.
public sealed class SepiaProcessor : FilterProcessor, IImageProcessor
- Inheritance
-
SepiaProcessor
- Implements
- Inherited Members
Constructors
SepiaProcessor(float)
Initializes a new instance of the SepiaProcessor class.
public SepiaProcessor(float amount)
Parameters
amountfloatThe proportion of the conversion. Must be between 0 and 1.
Properties
Amount
Gets the proportion of the conversion
public float Amount { get; }