Re: [w3c/FileAPI] Consider adding `blob.dataUrl()` method, or some other analogue to `readAsDataURL` (Issue #179)

Also related:
- https://github.com/tc39/proposal-arraybuffer-base64/issues/6

When ppl want to display a image preview from a file input, then i recommend ppl to just use `URL.createObjectURL` instead cuz data url use more memory than what a leaky data url dose that only have a reference point to the disc. 

I do know the risk of not revoking things.
https://stackoverflow.com/questions/49209756/do-i-always-need-to-call-url-revokeobjecturl-explicitly

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/issues/179#issuecomment-1368541239
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/FileAPI/issues/179/1368541239@github.com>

Received on Sunday, 1 January 2023 21:30:49 UTC