how to convert a html canvas into a png file
let canvas = document.getElementById("mycanvas");
let img = canvas.toDataURL("image/png");
document.write('<img src="'+img+'"/>');
how to convert a html canvas into a png file
let canvas = document.getElementById("mycanvas");
let img = canvas.toDataURL("image/png");
document.write('<img src="'+img+'"/>');
convert canvas to DataUrl and insert image in google sheet
function savejSigToSht() {
var dataURL = canvas.toDataURL('image/png');
google.script.run.insertSig(dataURL);
google.script.host.close();
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us