📜  保存图像 jpg javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:44.758000             🧑  作者: Mango

代码示例1
Download example.jpg
async function downloadCanvas(el) {
  const imageURI = canvas.toDataURL("image/jpg");
  el.href = imageURI;
};