Here's a detailed explanation on what I'm trying to do-
I'm reading a HTML file from a directory which has the image tag used but the assets are mapped locally and are not from url.
So somehow I'm able to get access to the file.
const fileHandle = await dirHandler.getFileHandle(file);
Now, I somehow want to use the content of this file inside img tag.
The way it's possible is using having a base64 url encoded file.
I'm not finding much stuff/detail on this.
A help would be highly appreciated.
Thanks