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

Remarks

This effect is the inverse of SrgbToLinearEffect.

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

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