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, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
SrgbToLinearEffect
Implements
Inherited Members

Remarks

This effect is the inverse of LinearToSrgbEffect.

NOTE: This effect should only be used for conversion between sRGB and scRGB. It is not appropriate for converting between any other color spaces. In general, the use of ColorManagementEffect should be strongly preferred.

Constructors

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