fetch("image source").then(response => { response.blob(); }).then(blob => { // 'blob' is the image in blob form });