Table of Contents

Class GrayscaleBt601Processor

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.601

public sealed class GrayscaleBt601Processor : FilterProcessor, IImageProcessor
Inheritance
GrayscaleBt601Processor
Implements
Inherited Members

Constructors

GrayscaleBt601Processor(float)

Initializes a new instance of the GrayscaleBt601Processor class.

public GrayscaleBt601Processor(float amount)

Parameters

amount float

The proportion of the conversion. Must be between 0 and 1.

Properties

Amount

Gets the proportion of the conversion

public float Amount { get; }

Property Value

float