# Gimp.Drawable.prototype.desaturate

    function desaturate(desaturate_mode: Gimp.DesaturateMode): Boolean {
        // Gjs wrapper for gimp_drawable_desaturate()
    }

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

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

Since 2.10

desaturate_mode

  The formula to use to desaturate.

Returns

  TRUE on success.