svg - 使用 inkscape 从命令行优化 SVG

标签 svg command-line inkscape

inkscape 中,您可以将 SVG 图像保存为优化的 SVG。参见示例 this所以问题。

是否可以仅使用命令行使用此功能来优化 SVG 图像?

最佳答案

是的,直接使用Scour:https://github.com/scour-project/scour (这是 Inkscape 与“另存为... > 优化的 SVG”对话框 Hook 的内容)。

关于svg - 使用 inkscape 从命令行优化 SVG,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62598759/

相关文章:

html - 如何将 png 图像转换为内联 svg

npm - 仅在特定文件上自动修复 lint 问题

command-line - Graphviz Dot由于缺少库而无法删除重叠

php - 如何使用 Inkscape 将 SVG 字符串转换为 jpg

python - 圆弧,饼图,在 svgwrite 中

html - 是否可以制作以 SVG 线开头的完美圆的动画

html - 如何在 SVG 中的 "zooming"时保持 viewBox 居中?

javascript - 识别点(x,y)在 svg 路径内部或外部

ruby - 为什么 shell 输出经常在其输出中使用 `mixed_characters'?

python lxml inkscape 命名空间标签