has obtained a canvas, and then downloaded and saved it, but the result part cannot be downloaded.
the size of the picture is 4m, while it is said online that the href length of an is limited.
how to download
function aa(src,imgname){
var alink=document.createElement("a");
alink.href=src;
alink.download=imgname;
alink.click();
alink.remove();
}
var url = canvas.toDataURL("image/png");
aa(url,"");