Table of Contents

Class SrgbToLinearEffect

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

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

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

Remarks

This effect is the inverse of LinearToSrgbEffect.

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

Constructors

SrgbToLinearEffect(IDeviceEffectFactory)
SrgbToLinearEffect(IDeviceEffectFactory, IDeviceImage, SrgbToLinearAlphaMode)