Anyone know how to take a `Painter` and get a`Imag...
# compose-android
j
Anyone know how to take a
Painter
and get a`ImageBitmap` from it?
BitmapPainter.image
is private. I’ve also tried using a
Canvas
and a
CanvasDrawScope
then drawing to the canvas. And that works, except for Hardware bitmaps. I Google’d around and found out about
PixelCopy
but I’m not sure how to get that to work in Compose land.
👀 1
y