-4
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.
I’m sorry, but I don’t understand why you’re asking so much, the answer I posted https://answall.com/a/64198/3635 has an example of how to convert to image and even how to upload it. Read the parts I speak Saving on Desktop User Machine and upload where written Saving canvas on the server
– Guilherme Nascimento
The other question has a lot of information, it’s not objective.
– OptimusDesesperado
If a person looks for a solution in google related to my question, the one that will appear as solution for it will be mine and not this one.
– OptimusDesesperado
It is organized by topics and this is no excuse, I created that question exclusively to help in everything that was necessary, just read the topics/ titles. Don’t take it personally.
– Guilherme Nascimento