Thread
#compose
    Mikael Alfredsson

    Mikael Alfredsson

    2 years ago
    Does compose give you a way to de-saturate an image? The ImageView can use ColorMatrices as color filters (and the ColorMatrix class even has a helper method for
    setSaturation
    but I can’t find any similar function for Composable Images? (I’m very new to Compose so I can easily have missed something)
    nickbutcher

    nickbutcher

    2 years ago
    Will let @Nader Jawad comment on thoughts of exposing this functionality but you do still have the
    drawCanvas
    escape hatch to get a platform
    Canvas
    and do this. e.g. https://github.com/chrisbanes/accompanist/blob/master/coil/src/main/java/dev/chrisbanes/accompanist/coil/Coil.kt#L344