We have an image inside a tag
<div id='tiraafotomisera'>
<CENTER><img src='../imgMarketing/fundoVerde.jpeg' class='fundo' /><div class='logo'><br><div class='nomeEmpresa' style='position:absolute;'>DENY SISTEMAS</div></div></CENTER>
</div>
JS
<script>
html2canvas(document.querySelector("#tiraafotomisera")).then(canvas => {
document.body.appendChild(canvas)
});
</script>
How can I download this image automatically? Without clicking save as.