The decode() method of the HTMLImageElement interface returns a it to the DOM.
decode()
MDN Reference