Photoshop Custom Shape to SVG path string

前端 未结 5 933
清酒与你
清酒与你 2021-01-30 05:19

Is there any way to get the SVG path string off a Photoshop custom shape or path? Or is there another way to get/construct similar data? I\'m looking to do something similar to

5条回答
  •  -上瘾入骨i
    2021-01-30 06:00

    All answers were good, but for me they were too much, there is an online tool provided by Adobe:

    http://adobe.com/go/extract_tryitnow_en

    All you have to do is upload /drag & drop/ your .psd file, choose the path layer and download as svg. And you can extract the svg path, d attribute in particular.

    Then what I did is put the path into a g element, then scaled g and translated the path

提交回复
热议问题