-
I'm trying to display a I'm in the process of adding a JS target to a multiplatform library (https://github.com/sproctor/SignaturePad/). I currently have a function to convert a Do you know how to accomplish this? Or is there a simple way to display a |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Well, KorIM supports converting bitmaps to In the case of JS I'm not sure, but it is possible to generate an URL for passing to a You can also use Blob to generate shorter URLs: But you will need to revoke them later as in the snippet. |
Beta Was this translation helpful? Give feedback.
-
Thanks. For my application, the image is being displayed using the |
Beta Was this translation helpful? Give feedback.
-
Ok, writing a painter looked complicated. I opted for what appeared to be the easiest: convert a Korim Here's the result:
|
Beta Was this translation helpful? Give feedback.
-
I had the similar problem and better way that i found in Compose examples. ByteArray -> ImageBitmap |
Beta Was this translation helpful? Give feedback.
Ok, writing a painter looked complicated. I opted for what appeared to be the easiest: convert a Korim
Bitmap
to a SkiaBitmap
.Here's the result: