grayscale

fun ImagePreprocessing.grayscale()

Applies Convert operation to convert the image to ColorMode.GRAYSCALE.