Property InputColorContext
- Namespace
- PaintDotNet.Effects.Gpu
- Assembly
- PaintDotNet.Effects.Gpu.dll
InputColorContext
Specifies the color context of the Input image, as well as the BackgroundColor property. This is used to optimize the quality of this effect's rendering.
public EffectPropertyAccessor<IDeviceColorContext?> InputColorContext { get; }
Property Value
Remarks
If this property is set (is non-null, in other words), the image will be converted to linear
gamma for some of the effect's internal rendering, while remaining in the original gamma (specified
by this property) for other portions of rendering. The output of this effect will be in the color
space defined by this property.
For Paint.NET GPU effect plugins, you should use ColorContext for
this property's value. The full property path is this.Environment.Document.ColorContext.