Loading...
Loading...
Generate production-quality SVG icons with COLOR support using VTracer vectorization. Converts raster images to clean, colorful SVG paths.
npx skill4agent add heroygt/skills svg-icon-maker@neplex/vectorizerYYYY-MM-DDTHH-mm-ss-SSSZ<workspace>/svg-output/
└── <timestamp>/ # e.g., 2026-01-27T02-13-38-811Z
├── reference.png # Generated reference image
├── icon.svg # Color SVG output
└── icon_preview.png # Preview for comparisoncd <workspace>
npm init -y
npm install @neplex/vectorizer sharpgenerate_imagesvg-output# Generate image, then move to proper folder later or keep in root for processing"[subject] avatar, high fidelity vector illustration, clear line style,
black closed outlines, flat uniform colors, no gradients,
white background, distinct separation between colors"node .agent/skills/svg-icon-maker/script/convert-template.js <input-file> [output-dir]# Using default output directory (./svg-output)
node .agent/skills/svg-icon-maker/script/convert-template.js ./my-image.png
# Specifying custom output directory
node .agent/skills/svg-icon-maker/script/convert-template.js ./my-image.png ./custom-outputYYYY-MM-DDTHH-mm-ss-SSSZls -la <workspace>/svg-output/view_filereference.pngicon_preview.png| Parameter | Default | Description |
|---|---|---|
| Color | |
| 8 | 1-8, higher = more colors (8 = max fidelity) |
| 8 | Color layer threshold (lower = less merging) |
| 4 | Remove noise pixels (lower = more detail) |
| Spline | |
| 60 | Corner detection angle |
| 45 | Spline angle threshold |