Table of Contents

Class ColorManagementEffect

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Core.dll

Use the color management effect to transform an image from one ICC (International Color Consortium) color profile to another. The effect transforms the image according to the ICC specification.

Note that this effect is a wrapper around Direct2D's built-in Color Management effect. This wrapper has several workarounds for bugs or inconsistencies in Direct2D's implementation, and has improved quality. To create an instance of an un-wrapped Direct2D Color Management effect, use the CreateEffect(in DeviceEffectID) method, which is available on IDeviceContext and IDeviceEffectContext.

For more information, see Color management effect

public sealed class ColorManagementEffect : CustomEffect<ColorManagementEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
ColorManagementEffect
Implements
Inherited Members
Extension Methods

Constructors

ColorManagementEffect(IDeviceEffectFactory)
ColorManagementEffect(IDeviceEffectFactory, IDeviceImage?, IDeviceColorContext?, ColorManagementRenderingIntent, IDeviceColorContext?, ColorManagementRenderingIntent, ColorManagementAlphaMode, ColorManagementQuality)
ColorManagementEffect(IDeviceEffectFactory, IDeviceImage?, IDeviceColorContext, IDeviceColorContext, ColorManagementAlphaMode, ColorManagementQuality)