Gimp.Image.prototype.remove_channel

function remove_channel(channel: Gimp.Channel): Boolean {
    // Gjs wrapper for gimp_image_remove_channel()
}
  

Remove the specified channel from the image.

This procedure removes the specified channel from the image. If the channel doesn't exist, an error is returned.

channel

The channel.

Returns

TRUE on success.