The project's README from github.com/goku-open/goku-image-to-svg-tool. As one markdown file: README.md.
基于 Vecto 引擎的图片矢量化工具:上传位图,自动转为干净可编辑的 SVG。
把 Vecto 命令行引擎(开源 .NET 矢量化核心)包上一层 Streamlit Web 界面:不需要敲命令,选图即转、改参即重转,原图 / 矢量 / 分割视图三合一对比,导出 SVG 或按倍率渲染 PNG。
tools/vecto,v0.4.2 linux-x64),一条命令跑起来| 能力 | 悟空图片转SVG | Vectorizer.AI | Illustrator 图像描摹 | Inkscape 位图描摹 | vecto CLI(裸用) |
|---|---|---|---|---|---|
| 开源免费 | ✅ | ❌ | ❌ | ✅ | ✅ |
| 浏览器即用,免安装 | ✅ | ✅ | ❌ | ❌ | ❌ |
| 上传即自动转换 | ✅ | ✅ | ❌ | ❌ | ❌ |
| 调色板/风格/细节参数 | ✅ | ✅ | ✅ | ✅ | ✅(命令行) |
| 分割视图+滑块对比 | ✅ | 部分 | ❌ | ❌ | ❌ |
| 中英双语界面 | ✅ | 部分 | 部分 | ✅ | ❌ |
对比基于各产品公开能力,以实际体验为准;Illustrator / Inkscape 与在线服务的功能随版本变化。
在线使用(推荐): image-to-svg.streamlit.app——免安装、打开即用。
需要本地运行:
git clone https://github.com/goku-open/goku-image-to-svg-tool.git
cd goku-image-to-svg-tool
pip install -r requirements.txt
streamlit run streamlit_app.py
打开 http://localhost:8501 即可使用。tools/vecto 二进制已随仓库提供(v0.4.2 linux-x64);如需要自行下载,见 Vecto Releases。
启动后浏览器显示:
You can now view your Streamlit app in your browser.
Local URL: http://localhost:8501
Network URL: http://192.168.x.x:8501
Streamlit 前端 ──subprocess──▶ tools/vecto trace(位图 → SVG)──▶ 解析 stats
▲ │
└──────────── 滑块对比 + 导出 SVG / PNG(render) ◀──────────────┘
矢量化核心是 Vecto(.NET, MIT):ImageSharp 解码图片、多边形拟合生成矢量路径;本项目负责 Web 交互、参数透传、三视图对比与导出。
python -m pytest(项目所有功能必须配套测试)pages_content/,逻辑在 utils.py,文案在 locales/我养了两只猫,汤圆和饺子。如果你觉得悟空图片转SVG工具给你的生活带来了快乐,你可以喂它们 罐头食品 🥩。
MIT © 2026 Goku-Scraper。Vecto 引擎 © Daniel Mevit。
Keywords: 图片转矢量, 位图转SVG, 图片矢量化, svg 转换, 在线矢量化工具, vecto 引擎, streamlit 应用, 免费开源, 中英双语, image to vector, raster to svg, image tracing, bitmap to svg, svg converter, vector graphics, vecto engine, streamlit app, open source