Gimp.Image.prototype.convert_grayscale

function convert_grayscale(): Boolean {
    // Gjs wrapper for gimp_image_convert_grayscale()
}
  

Convert specified image to grayscale

This procedure converts the specified image to grayscale. This process requires an image in RGB or Indexed color mode.

Returns

TRUE on success.