Enum ConvertGammaMode
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
public enum ConvertGammaMode
Fields
SrgbToLinear = 0
The SrgbToLinearEffect is used to convert the input image from sRGB (~2.2) to Linear (1.0).
LinearToSrgb = 1
The LinearToSrgbEffect is used to convert the input image from Linear (1.0) to sRGB (~2.2).
CustomExponent = 2
The GammaTransferEffect2 is used to apply a custom gamma exponent.
InverseCustomExponent = 3
The GammaTransferEffect2 is used to apply the reciprocal of a custom gamma exponent.
Passthrough = 4
The input image is unchanged.