frontend/web/constructor/js/script.js
// converts a canvas to an image
converts a canvas to an image
converts a canvas to an image
function convertCanvasToImage(can) {
		var image = new Image();
		image.src = can.toDataURL("image/png");
		return image;
	}
function convertCanvasToImage ( can ) { var image = new Image ( ) ; image . src = can . toDataURL ( "image/png" ) ; return image ; }
converts a canvas to an image
converts a canvas to an image