Display images from WASM work folder in HTML/JS?

Is it possible to display images from the WASM work folder in HTML/JS?

I want to display an image from mission files stored in the WASM work folder in a toolbar panel.

I know the Communication API allows transfering JSON / text, but I don’t see anything about a size limit, and encoding/decoding could be a hassle.

Is it possible to use the Communication API to transfer images, or is there another way to display images from the wasm work folder in a toolbar panel?