Table of Contents

Class LinearToSrgbEffect

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

Converts an image from linear scRGB (gamma 1.0) to companded sRGB (gamma ~2.2).

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

Remarks

This effect is the inverse of SrgbToLinearEffect.
This is a helper effect that is the same as using the ColorManagementEffect with the SourceColorContext initialized to ScRgb and the DestinationColorContext set to Srgb.

Constructors

LinearToSrgbEffect(IDeviceEffectFactory)
LinearToSrgbEffect(IDeviceEffectFactory, IDeviceImage, LinearToSrgbAlphaMode)