|
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 |
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. |
|
Thanks. For my application, the image is being displayed using the |
|
Ok, writing a painter looked complicated. I opted for what appeared to be the easiest: convert a Korim Here's the result: |
|
I had the similar problem and better way that i found in Compose examples. ByteArray -> ImageBitmap |
Ok, writing a painter looked complicated. I opted for what appeared to be the easiest: convert a Korim
Bitmapto a SkiaBitmap.Here's the result: