I'd like to use the Palette API to generate the dominant color from a remote Image inside a ViewModel. I am a bit confused as to how to retrieve the Bitmap when using an image loading library such as Coil that's included into Accompanist. Anyone got ideas? FWIW, this is what my image loader code looks like right now