Join Slack
Powered by
Hi, is there a way to generate dynamically an imag...
# compose-desktop
a
Ayfri
09/29/2021, 3:17 PM
Hi, is there a way to generate dynamically an image with a text ?
k
Kirill Grouchnikov
09/29/2021, 7:13 PM
If you're targeting only the desktop variant, you can create an
ImageBitmap
, wrap it in
Canvas
, call
Canvas.nativeCanvas
to get the Skia canvas object, and then use
drawTextBlob
or
drawTextLine
on that object.
3
Views
Open in Slack
Previous
Next