Adjusts hue, saturation, and lightness of the image.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub AdjustHsl ( _ hue As Single, _ saturation As Single, _ lightness As Single _ )
Type: System.Single
Hue modifier. Should be in range [-1, 1].Type: System.Single
Saturation modifier. Should be in range [-1, 1].Type: System.Single
Lightness modifier. Should be in range [-1, 1].You can also use AdjustHsl class to apply this correction.
Such parameters as saturation and lightness are normalized to 1. Depending on pixel format they are scaled to 255 or 65355 inside of the method. Hue is normalized to 360. In other words, hue*360 means a degree on the color wheel.
bitmap.ColorAdjustment.AdjustHsl(0.1F, -0.2F, 0.1F)
bitmap.ColorAdjustment.AdjustHsl(0.1F, -0.2F, 0.1F);