Figma Support Forum

Best way to transfer image from Figma to Plugin UI

Hello,
What would be the best way to send an image (fill) content from Figma to a plugin UI as a tag?

You can send it as a Uint8Array in your postMessage to the plugin UI.

Thank you @ntfromchicago, my issue is more with promises now.
How to save multiple uint8Array (async calls) data and pass that back to the UI.