Is anyone familiar with how one can extract the <P...
# compose-android
h
Is anyone familiar with how one can extract the Palette from a Painter?
1
a
You need to convert painter to ImageBitmap. Then call
asAndroidBitmap()
on it and create palette from the resulted android bitmap
💯 2
h
That works, thanks!