Class GrayscaleBt709Processor
- Namespace
- SixLabors.ImageSharp.Processing.Processors.Filters
- Assembly
- SixLabors.ImageSharp.dll
Applies a grayscale filter matrix using the given amount and the formula as specified by ITU-R Recommendation BT.709
public sealed class GrayscaleBt709Processor : FilterProcessor, IImageProcessor
- Inheritance
-
GrayscaleBt709Processor
- Implements
- Inherited Members
Constructors
GrayscaleBt709Processor(float)
Initializes a new instance of the GrayscaleBt709Processor class.
public GrayscaleBt709Processor(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; }