Is there a way to turn a cropped image into a file object in JavaScript?

前端 未结 0 1246
挽巷
挽巷 2021-01-28 14:34

I have this line of code "var cropped_image = canvas.toDataURL();"

That is turning the canvas image into a string like . data:image/png;base64,iVBORw0KGgoAAAANS

相关标签:
回答
  • 消灭零回复
提交回复
热议问题