Answers for "javascript new image from file"

0

save image jpg javascript

<a download="example.jpg" href="" onclick="downloadCanvas(this);">Download example.jpg</a>
async function downloadCanvas(el) {
  const imageURI = canvas.toDataURL("image/jpg");
  el.href = imageURI;
};
Posted by: Guest on May-25-2021

Code answers related to "javascript new image from file"

Browse Popular Code Answers by Language