Skip to main content

trace-to-svg

Trace bitmap images (PNG/JPG/WebP) into clean SVG paths using potrace/mkbitmap. Use to convert logos/silhouettes into vectors for downstream CAD workflows (e.g., create-dxf etch_svg_path) and for turning reference images into manufacturable outlines.

소스 정보

저장소
ThinkfleetAI/thinkfleet-engine
최근 소스 활동
2026년 2월 10일 19:23
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
trace-to-svg
description
Trace bitmap images (PNG/JPG/WebP) into clean SVG paths using potrace/mkbitmap. Use to convert logos/silhouettes into vectors for downstream CAD workflows (e.g., create-dxf etch_svg_path) and for turning reference images into manufacturable outlines.
metadata
{"thinkfleet":{"requires":{"bins":"[Truncated]"},"install":["[Truncated]","[Truncated]"]}}
# trace-to-svg Convert a bitmap into a vector SVG using `mkbitmap` + `potrace`. ## Quick start ```bash # 1) Produce a silhouette-friendly SVG bash scripts/trace_to_svg.sh input.png --out out.svg # 2) Higher contrast + less noise bash scripts/trace_to_svg.sh input.png --out out.svg --threshold 0.6 --turdsize 20 # 3) Feed into create-dxf (example) # - set create-dxf drawing.etch_svg_paths[].d to the SVG path `d` you want, or # - store the traced SVG and reference it in your pipeline. ``` ## Notes - This is best for **logos, silhouettes, high-contrast shapes**. - For photos or complex shading, results depend heavily on thresholding. - Output is usually one or more `<path>` elements.
GitHub에서 보기