Below code creates the image in the bottom of the same page. How to display that image into a new tab/window instead of displaying in the same page?
succes
Latest solution - works 2019-10.
Open image in new tab.
let data = 'data:image/png;base64,iVBORw0KGgoAAAANS';
let w = window.open('about:blank');
let image = new Image();
image.src = data;
setTimeout(function(){
w.document.write(image.outerHTML);
}, 0);
https://stackoverflow.com/a/58615423/2450431 https://stackoverflow.com/a/46510790/2450431 https://stackoverflow.com/a/27798235/2450431