colorize_hsl


Description:

[ Version ( deprecated = true , deprecated_since = "3.2" , since = "2.10" ) ]
public bool colorize_hsl (double hue, double saturation, double lightness)

Warning: colorize_hsl is deprecated since 3.2.

Render the drawable as a grayscale image seen through a colored glass.

Note:

Use filter "gimp:colorize" instead.

Desaturates the drawable, then tints it with the specified color. This tool is only valid on RGB color images. It will not operate on grayscale drawables.

Parameters:

this

The drawable.

hue

Hue in degrees.

saturation

Saturation in percent.

lightness

Lightness in percent.

Returns:

TRUE on success.