Hi, has anyone had luck with converting a composab...
# compose
t
Hi, has anyone had luck with converting a composable to bitmap on compose multiplatform?
t
In compose for desktop it is possible but with some performance limitations i would say. I think in Android it is also possible without limitations. But as far as i know there is no general way of doing it.
s
https://developer.android.com/develop/ui/compose/graphics/draw/modifiers#composable-to-bitmap This is the latest way to do this. Not sure what is or isn't available on MP so just give it a try I suppose
l
Multiplatform isn't on 1.7 yet, so rememberGraphicsLayer won't be available yet.
sad panda 2
t
Will
rememberGraphicsLayer
be available as part of the common sourceset? I assume it uses android.grahics.picture which is only available on android
m