Table of Contents

Property ColorContext

Namespace
PaintDotNet.Effects.Gpu
Assembly
PaintDotNet.Effects.Core.dll

ColorContext

Specifies the color space that the effect performs its rendering in. Input images retrieved through IGpuEffectEnvironment will be converted into this color space, as will images created with IDeviceContext.CreateImageFromBitmap(). The effect's output will then be converted back to the working space of the destination image.

GpuEffectColorContext ColorContext { get; set; }

Property Value

GpuEffectColorContext

Remarks

The default value is WorkingSpaceLinear.