Class GrayscaleEffect2.Props
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
public sealed class GrayscaleEffect2.Props : CustomEffectProperties
- Inheritance
-
GrayscaleEffect2.Props
- Inherited Members
Constructors
Properties
- AlphaMode
Specifies the alpha mode of the input and output. The default is Premultiplied.
To preserve color information for transparent pixels, make sure the input is in straight alpha format (not premultiplied) and set this property to Straight.
The default value is Premultiplied.
- InputGamma
Indicates the gamma of the input image, and for the output. If the input image is known to be linear, then the Linear value should be used so that the correct calculations are used.
The default value is Srgb.