Class GrayscaleBt709Processor
Applies a grayscale filter matrix using the given amount and the formula as specified by ITU-R Recommendation BT.709
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Processing.Processors.Filters
Assembly: SixLabors.ImageSharp.dll
Syntax
public sealed class GrayscaleBt709Processor : FilterProcessor, IImageProcessor
Constructors
| Edit this page View SourceGrayscaleBt709Processor(float)
Initializes a new instance of the GrayscaleBt709Processor class.
Declaration
public GrayscaleBt709Processor(float amount)
Parameters
Type | Name | Description |
---|---|---|
float | amount | The proportion of the conversion. Must be between 0 and 1. |
Properties
| Edit this page View SourceAmount
Gets the proportion of the conversion.
Declaration
public float Amount { get; }
Property Value
Type | Description |
---|---|
float |