Table of Contents

Class RgbToHueEffect

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

Converts an RGB image to either the HSL (Hue, Saturation, Lightness) or HSV (Hue, Saturation, Value) color spaces. HSL and HSV are two different models for representing an RGB color in a cylindrical color space. They are useful because they allow you to reason about a color using more intuitive concepts like hue and intensity versus combining red, green and blue values.

This effect normalizes the output data (hue, saturation, value for HSV or hue, saturation, lightness for HSL) to the range [0, 1].

To reverse the behavior of this effect, use the HueToRgbEffect.

For more information, see RGB-to-hue effect

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

Constructors

RgbToHueEffect(IDeviceEffectFactory)
RgbToHueEffect(IDeviceEffectFactory, IDeviceImage, RgbToHueOutputColorSpace)