I'm using this snippet to save canvas as image : when I click the button snapshot, id="snap", a new tab in FF (or window, in chrome) is opened and the image is called.
document.getElementById('snap').addEventListener('click', function () {
stage.toDataURL({
callback: function call (dataUrl) {
window.open(dataUrl);
},
mimeType: 'image/png',
quality: 1
})
});
The problem is that IE9 gives me an error and does not show the file. The error says that there is a software needed to open the file. Honestly, I don't understand this error, what software is Microsoft talking about? If there's any solution or workaround please help.