Rectangle 27 0

The method readAsDataURL() doesn't create any blobs but so called DataURIs.

To clear a DataURI you just have to set the src attribute which references the DataURI to something different or to an emtpy string:

img.src = '';

Indeed, the method readAsDataURL() reads FROM blobs, but this shouldn't cause any issues with the blobs if your set them to null.

javascript - How to clear BLOB created at the time of HTML5 FileReader...

javascript html5 mobile-safari filereader