
Svg Tracer
com.pulsemcpv0.1.3更新於 Sep 29, 2026
MCP server for converting bitmap images to SVG vector graphics using potrace tracing.
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Svg Tracer,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
SVG Tracer MCP Server
An MCP server that converts bitmap images (PNG, JPG, BMP, GIF, TIFF, WebP) to SVG vector graphics using potrace tracing.
Features
- Converts any common bitmap format to clean SVG vector paths
- Automatic preprocessing of transparent PNGs (alpha channel to black-on-white mask)
- Customizable tracing parameters (threshold, speckle suppression, curve optimization)
- Target size scaling for generating icons (e.g., 50x50 Dewey icons)
- Custom fill color and background support
- Works with the local filesystem by default (reads input, writes output to disk)
Quick Start
Using npx
Manual Setup
Tools
trace_bitmap_to_svg
Convert a bitmap image to an SVG vector graphic using potrace tracing.
Parameters:
Example usage:
How It Works
- Read input - Loads the bitmap image (PNG, JPG, BMP, GIF, TIFF, WebP)
- Preprocess - Handles transparency by converting alpha channel to a black-on-white grayscale mask
- Trace - Uses potrace to convert the bitmap to SVG vector paths
- Scale - Optionally wraps paths in a transform group to fit target dimensions
- Output - Writes the SVG to disk and returns the SVG string with metadata
Supported Formats
- PNG (including transparent PNGs with alpha channel)
- JPEG / JPG
- WebP
- BMP
- GIF
- TIFF
Development
License
MIT
來源:productionized/svg-tracer/README.md,提交 0ed34de
工具
0工具後設資料尚未被收錄。
版本歷史
1- v0.1.3最新Sep 16, 2026


