Method

GimpDrawablecolorize_hsl

Declaration [src]

gboolean
gimp_drawable_colorize_hsl (
  GimpDrawable* drawable,
  gdouble hue,
  gdouble saturation,
  gdouble lightness
)

Description [src]

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

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.

Available since:2.10

Parameters

hue gdouble
 

Hue in degrees.

saturation gdouble
 

Saturation in percent.

lightness gdouble
 

Lightness in percent.

Return value

Returns: gboolean
 

TRUE on success.