Table of Contents

Class SaturateProcessor

Namespace
SixLabors.ImageSharp.Processing.Processors.Filters
Assembly
SixLabors.ImageSharp.dll

Applies a saturation filter matrix using the given amount.

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

Constructors

SaturateProcessor(float)

Initializes a new instance of the SaturateProcessor class.

public SaturateProcessor(float amount)

Parameters

amount float

The proportion of the conversion. Must be greater than or equal to 0.

Remarks

A value of 0 is completely un-saturated. A value of 1 leaves the input unchanged. Other values are linear multipliers on the effect. Values of amount over 1 are allowed, providing super-saturated results

Properties

Amount

Gets the proportion of the conversion

public float Amount { get; }

Property Value

float