将 SVG 转成 PNG
November 7, 2020
在 MacOS 上,安装 inkscape(用 brew),然后这样使用:
$ inkscape --export-type=png --export-dpi=200 --export-background-opacity=0 file.svg
这会创建一个透明背景的 file.png。
在 MacOS 上,安装 inkscape(用 brew),然后这样使用:
$ inkscape --export-type=png --export-dpi=200 --export-background-opacity=0 file.svg
这会创建一个透明背景的 file.png。