How to save svg canvas to local filesystem

前端 未结 16 1479
南旧
南旧 2020-11-27 10:10

Is there a way to allow a user, after he has created a vector graph on a javascript svg canvas using a browser, to download this file to their local filesystem?

SVG

16条回答
  •  情话喂你
    2020-11-27 10:35

    I made a clean/usable bookmarklet out of the suggestions.

    It will put a unique link next to every inline on the page.

    https://codepen.io/corysimmons/pen/vybzqV

    Hope it helps someone.

提交回复
热议问题