Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to convert a canvas to an image javascript

function canvasURL(id) {
	let canvas = document.getElementById(id);
	return canvas.toDataURL(1.0);
}
 
PREVIOUS NEXT
Tagged: #How #convert #canvas #image #javascript
ADD COMMENT
Topic
Name
7+5 =