How to save HTML5 canvas?

后端 未结 4 406
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-01 09:30

Currently I am using Canvas2Image to save the content of my HTML5 canvas. It doesn\'t appear to work in Google Chrome, however. Any ideas on how to work around the issue are wel

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-01 10:05

    canvas.toDataURL() appears to work fine in Chrome, so it may be a library issue. The "convert canvas to image" functionality seems to work, though.

提交回复
热议问题