how to get the blob from javascript file object code example
Example: get blob from file javascript
Modern solution:
let blob = await fetch(url).then(r => r.blob());
The url can be an object url or a normal url.
Modern solution:
let blob = await fetch(url).then(r => r.blob());
The url can be an object url or a normal url.