desaturate


Description:

[ Version ( deprecated = true , deprecated_since = "3.2" , since = "2.10" ) ]
public bool desaturate (DesaturateMode desaturate_mode)

Warning: desaturate is deprecated since 3.2.

Desaturate the contents of the specified drawable, with the specified formula.

Note:

Use filter "gimp:desaturate" instead.

This procedure desaturates the contents of the specified drawable, with the specified formula. This procedure only works on drawables of type RGB color.

Parameters:

this

The drawable.

desaturate_mode

The formula to use to desaturate.

Returns:

TRUE on success.