GitHub
公开源码、更新记录与 Issue 都在这里。
把 PNG 矢量化为高质量 SVG,自动抠背景、曲线平滑
基本信息
Convert PNG images to high-quality SVG with optional white-background removal, vtracer spline vectorization, and svgo compression. Use when the user asks for "PNG to SVG", "png2svg", "转 SVG", "矢量化", "去白底", logo tracing, or converting raster icons into editable vector assets.
SKILL CARD / TRUST RECORD
这个 Skill 尚未发布完整的可信度卡。案例、维度地图与定价依据会在补齐后显示。
PRICING CARD
把 PNG 矢量化为高质量 SVG,自动抠背景、曲线平滑。
免费入口
免费
稳定价格带 免费
价值锚点
一次交付通常可省下 20 分钟至半天的整理、排版和格式返工。
定价依据
按一次可发送或可归档的文件结果定价,重点是格式稳定和人工返工减少。
使用边界
默认处理结构清晰的输入;扫描质量、复杂模板、第三方转换器和批量服务成本另行确认。
维护说明
随文档格式、字体、渲染器和导出目标变化复评。
使用说明
Convert PNG images into high-quality SVG files with optional white-background removal, vtracer spline vectorization, and svgo compression.
Part of skill-publisher general skills — by example.com
npx skills add png2svg -g -y
brew install imagemagick
cargo install vtracer
npm install -g svgo
npx svgo also works when svgo is not installed globally.
magick input.png -fuzz 15% -transparent white -channel A -threshold 50% +channel input.temp.png
vtracer --input input.temp.png --output output.svg --mode spline --filter_speckle 8 --color_precision 8 --corner_threshold 120 --segment_length 6 --path_precision 5
npx svgo output.svg -o output.svg --multipass
rm -f input.temp.png
| Variable | Default | Description |
|---|---|---|
INPUT_PNG | required | Source PNG path |
OUTPUT_SVG | input basename with .svg | Target SVG path |
KEEP_BG | false | Keep the original background instead of removing white |
MIT
登录后即可留言
安装渠道
Yoda、Codex、Claude Code 和其他兼容运行环境都使用同一份 Skill;选择你的工具后,按对应步骤完成安装。
先保存一次工作资料,支持 Profile 的 Skill 会在运行时直接复用。
配置工作资料安装与配置
适合同时使用多个 Agent 的工作流:在一个地方完成安装、分配和调用。
在 Yoda 内完成
Yoda 会把安装后的 Skill 同步给已配置的 Agent,无需手动维护多个目录。
第一次调用
使用 png2svg 完成以下任务,并按 Skill 的验收标准检查结果:该 Skill 声明:Requires ImageMagick `magick`, vtracer, and svgo (`npx svgo` is supported). Works on macOS/Linux where those CLIs are installed.
更多信息
NEXT STEP
回到目录,从结果、证据、依赖和价格选择最合适的工作流。
LOVSTUDIO / KEEP MAKING