daftai-image-to-svg SKILL.md skillA
daftai-image-to-svg from daftai2026/daftai-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add daftai2026/daftai-skills/daftai-image-to-svg@git:20260704.214568ePins git:20260704.214568e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- daftai2026/daftai-skills
- Path
skills/daftai-image-to-svg/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260704.214568e, committed Jul 4, 2026
- Size
- 6,748 bytes
- Repository stars
- 18
- License
- none declared
Converts transparent or solid-background single-color PNG files and SVG files containing one embedded or local PNG into verified path-only SVG output. Removes pure-color backgrounds automatically. Uses Potrace threshold and parameter scans with alpha error metrics to preserve detailed logos, stamps, engravings, and line art. Use when the user asks to convert images to SVG, vectorize PNG, convert bitmap to true SVG, remove embedded raster data from SVG, 图片转矢量, PNG 转 SVG, 真矢量, or 位图描摹.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Image to SVG
Convert transparent or solid-background single-color artwork into a genuine SVG containing paths rather than an embedded bitmap.
Automatic tracing approximates the raster boundary. Only the original vector source can provide mathematically exact curves.
## Scope
Supported:
- Transparent PNG.
- PNG on a pure-color background, including white, red, green, or other flat colors.
- SVG containing exactly one Base64 or local PNG.
- Single-color logos, stamps, engravings, silhouettes, and detailed line art.
Reject:
- Photos, gradients, textured backgrounds, and multicolor artwork.
- Remote image URLs.
- SVG mixing raster artwork with existing paths.
- Centerline or editable-stroke reconstruction.
For multicolor artwork, recommend VTracer instead of forcing this workflow.
## Script Directory
**Important**: All scripts are located in the `scripts/` subdirectory of this skill.
**Agent Execution Instructions**:
1. Determine this SKILL.md file's directory path as `SKILL_DIR`.
2. Set command working directory to `${SKILL_DIR}`.
3. Execute `bun ${SKILL_DIR}/scripts/vectorize.ts`.
4. Replace `${SKILL_DIR}` with the absolute path.
| Script | Purpose |
|---|---|
…Read the whole file at its exact version.
How to install
mdr add daftai2026/daftai-skills/daftai-image-to-svg@sha256:0167f21afc0db4f7The line at the top of this page pins the label git:20260704.214568e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_qvtvr2juhae3zic4)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jul 4, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6748 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
daftai2026/daftai-skills · 18 stars · license none declared · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_qvtvr2juhae3zic4 GET https://markdownregistry.com/api/v1/resolve?ref=daftai2026/daftai-skills/daftai-image-to-svg GET https://markdownregistry.com/api/v1/blob/0167f21afc0db4f7a0b1b37a31c75bcf134d93564f7ba7bda60b901c41d2e835
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.