I am creating a post maker web app, where you can add image and a text on it, now I want to add a download button to ***
download image along with a text
*** on it.
i added <img> tag to add image , and a <input type="textarea"> to achieve this.
I am creating a post maker web app, where you can add image and a text on it, now I want to add a download button to ***
download image along with a text
*** on it.
i added <img> tag to add image , and a <input type="textarea"> to achieve this.
I don't think you'll be able to do that with an <img>
That said, you can use <canvas> and just save the finished canvas using JS:
var image = canvas.toDataURL("image/png").replace("image/png", "image/octet-stream");
window.location.href=image;