I am trying to convert the colored Image shown to black and white using android compose.
In the view system, I could change the image from colored to black and white by adding a filter like that
imageView.colorFilter = ColorMatrixColorFilter(ColorMatrix().apply { setSaturation(0f)})
as shown in this answer.
In Android Compose the Image  composable function already takes color filter but I cannot find ColorMatrixColorFilter equivalent in the compose package.
Here is the Image code that I want to convert to grayscale
 Image(
            asset = vectorResource(id = R.drawable.xxx),
            modifier = Modifier.clip(RectangleShape).size(36.dp, 26.dp),
            alpha = alpha,
            alignment = Alignment.Center,
            contentScale = ContentScale.Fit
        )