JavaScript -Leinwand zum Bild
const Canvas = document.getElementById(Id); // Id here
return Canvas.toDataURL();
Undefined
const Canvas = document.getElementById(Id); // Id here
return Canvas.toDataURL();
function canvasURL(id) {
let canvas = document.getElementById(id);
return canvas.toDataURL(1.0);
}