Trace a local image into SVG
abox_image_traceTrace JPEG, PNG, or WebP logos and line art into single-color SVG paths with adjustable threshold, inversion, and detail; writes a verified static path-only SVG for vector use.
Instructions
Trace a still JPEG, PNG or WebP into a single-color SVG path using the website mask, contour and curve engines. Best suited to logos and line art; this is a lossy shape interpretation. Supports automatic or explicit threshold, inversion and detail. Refuses overly complex traces. Writes and verifies a static path-only SVG; requires a local browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fill | No | #000000 | |
| detail | No | auto | |
| invert | No | ||
| min_area | No | ||
| threshold | No | otsu | |
| input_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| output_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| corner_angle | No |