Devesprit.ImageProcessor & Devesprit.ImageServer
HSL

Description:

This processor adjusts the shade of a color, its hue; the intensity of a color, its saturation; or the lightness of a color of an Image.

Method Declaration
Copy Code
public static ImageFactory HSL(this ImageFactory imageFactory, HSLSettings settings)

HSLSettings:

Hue Set the Hue angle. Values range from -180 to 180.
Lightness Set the Lightness Level. Values range from -100 to 100.
Saturation Set the Saturation Level. Values range from -100 to 100.

Assembly:

Devesprit.ImageProcessor.Plugins.AdvancedEffects.dll

Example
Copy Code
new ImageFactory().Load(@"My-Image-Path").HSL(new HSLSettings() {Hue = 50, Lightness = 20});

Original

 

 

Result