image-to-svg - Convert raster images into SVG reproductions
Converts existing raster images into SVG vector reproductions using color quantization, contour extraction, and optional line-stroke extraction.
Tags
Updated: 2026-10-06Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Convert raster images to SVG
- Quantize colors and extract contours
- Extract lines as SVG strokes
- Select image processing pipelines
- Remap colors with palettes
- Generate batch SVG variants
Inputs
- Raster image file
- Processing mode
- Pipeline selection
- Palette settings
- Smoothing parameters
Outputs
- SVG vector reproduction file
- Processing timing and status summary
Requirements
- Python environment
- opencv-python-headless
- scikit-image
- scipy
- scikit-learn
- librsvg2-bin
- ImageMagick for smoothing
