convert

fun ImagePreprocessing.convert(block: Convert.() -> Unit)

Applies Convert operation to convert the image to a different ColorMode.