Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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.

 
PREVIOUS NEXT
Tagged: #blob #file #javascript
ADD COMMENT
Topic
Name
6+6 =