const Canvas = document.getElementById(Id); // Id here return Canvas.toDataURL();
function canvasURL(id) { let canvas = document.getElementById(id); return canvas.toDataURL(1.0); }