AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Png2svg

skill-owenmorgan-claude-skills-png2svg · by owenmorgan

>

No reviews yet
0 installs
29 views
0.0% view→install

Install

$ agentstack add skill-owenmorgan-claude-skills-png2svg

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-owenmorgan-claude-skills-png2svg)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
5mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Png2svg? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

png2svg — Raster to SVG Conversion

Convert raster images (PNG, JPEG, BMP, TIFF, WebP) to high-fidelity SVG.

Auto-detects the best tracing engine:

  • potrace for monochrome images (logos, icons, line art) — smooth bezier curves, tiny files
  • vtracer for full-colour images (illustrations, photos) — preserves colour layers

Setup check

Before first use, verify dependencies are installed:

python3 -c "from PIL import Image; import numpy; print('ok')" && python3 -c "import vtracer; print('vtracer ok')" && potrace --version

If anything is missing:

pip install Pillow numpy vtracer && brew install potrace

Script location

The conversion script is at ${CLAUDE_SKILL_DIR}/scripts/png2svg.py.

Workflow

  1. Identify the image(s) — confirm the file path(s) with the user. If they mention a directory, use Glob to find image files (**/*.png, **/*.jpg).
  1. Determine output location — default is alongside the input file with .svg extension. Ask if unclear.
  1. Run the conversion:
python3 "${CLAUDE_SKILL_DIR}/scripts/png2svg.py"  [options]
  1. Report the result — show the engine used, file sizes, and output path.

Options

| Flag | Description | Default | |------|-------------|---------| | -o, --output | Output file or directory | Same dir as input | | -e, --engine | auto, potrace, or vtracer | auto | | -p, --preset | vtracer quality: max, high, fast | max | | -c, --colour | Fill colour for potrace (hex) | Auto-detected | | --alphamax | Corner smoothness: 0=sharp, 1.334=smooth | 1.0 | | --opttolerance | Curve precision: lower=more precise | 0.1 | | --turdsize | Speckle suppression threshold (px) | 2 |

Examples

# Auto-detect engine
python3 "${CLAUDE_SKILL_DIR}/scripts/png2svg.py" logo.png

# Force potrace with custom colour
python3 "${CLAUDE_SKILL_DIR}/scripts/png2svg.py" logo.png -e potrace -c '#1a1a1a'

# Batch convert
python3 "${CLAUDE_SKILL_DIR}/scripts/png2svg.py" /path/to/*.png -o /path/to/svgs/

# Sharper corners on a logo
python3 "${CLAUDE_SKILL_DIR}/scripts/png2svg.py" icon.png --alphamax 0.5

# Force vtracer for a colour illustration
python3 "${CLAUDE_SKILL_DIR}/scripts/png2svg.py" artwork.png -e vtracer -p max

Troubleshooting

  • SVG looks jagged — image was probably traced with vtracer. Try -e potrace
  • SVG is too large — use -p fast with vtracer, or increase --turdsize with potrace
  • Wrong colour — use -c '#hex' to override the auto-detected fill colour
  • potrace not found — install with brew install potrace (macOS) or apt install potrace (Linux)

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.