GitHub

such-skillsrajnandan1png-to-svg

png-to-svg

Trace bitmaps into smooth, scalable SVG. Multi-color logos come out as clean layered vectors, not a single muddy silhouette.

/rajnandan1:png-to-svg logo.png

Point it at a PNG; it hands back an SVG that scales to any size.

How it works

Four steps, in order. The layering is what keeps multi-color art clean.

  1. 1 · preprocess ImageMagick cleans and normalizes the bitmap.
  2. 2 · extract colors The dominant colors are pulled from the image, one mask per color.
  3. 3 · trace potrace turns each color layer into smooth bezier paths.
  4. 4 · composite The layers stack back into one clean SVG. Single-color images skip the layering; you can override the fill color.

Use

# logo to vector

/rajnandan1:png-to-svg logo.png

# plain words work too

vectorize this screenshot of our icon

# force one color

trace sketch.png as a single black shape

Install

One plugin carries all seven skills. Two commands and this one is ready.

claude plugin marketplace add rajnandan1/such-skills
claude plugin install rajnandan1@such-skills
Copied