# Rasterless: PNG to SVG with AI

> PNG to SVG with AI. Turns icons, logos, and flat art into small, clean SVG files.

Rasterless: PNG to SVG with AI is a free AI agent skill on Agensi by Dheeraj Ponnaganti, in Image & Video. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Dheeraj Ponnaganti](https://www.agensi.io/creators/dheeraj-ponnaganti)
- Category: [Image & Video](https://www.agensi.io/skills/image-video)
- Uses: 5
- Version: 1.2
- Last updated: 2026-10-13
- Security: scan passed (2026-10-13); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/rasterless-png-to-svg-with-ai
- Tags: image, branding, web-design, python, svg, vectorization, frontend-development, png-to-svg

## About this skill

Rasterless turns PNG, JPG, and WebP icons, logos, and flat illustrations into small, layered SVG files that look hand-drawn, and checks every result against the original.

### What it does
- **One path per color.** A 6-color emoji becomes 6 clean layers.
- **True colors.** The palette comes from the flat insides of shapes, so anti-aliased edges never become fake colors.
- **Sub-pixel edges.** The image is upscaled and snapped before tracing, so curves land between pixels.
- **No hairline gaps.** Layers overlap slightly, so the background never shows through a seam.
- **Self-check.** Each SVG is drawn back and compared with the input. Misses are counted and marked in red on a preview.
- **Shaded mode.** Grayscale 3D-style art becomes smooth stacked gray bands, with glossy balls rebuilt as real radial gradients.

### Results
Tested on 384 images the converter was not tuned on: 100% pass on 512 px PNGs, 99% on JPGs, and files about a third the size of VTracer's output.

### Good to know
- Built for flat art. Photos and color gradients are not a good fit, and the converter tells you when it sees them.
- Single-color icons use `currentColor`, so CSS can recolor them.
- Free and open source (MIT). Source, samples, and benchmarks are on GitHub: dheerajponnaganti/rasterless

## Requires

- Python

## Known limitations

Not for photos. Color gradients come out as flat bands. Detailed icons under 64 px lose thin lines. Shaded mode handles grayscale art only.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Rasterless: PNG to SVG with AI skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How is this different from other PNG to SVG tools?

It is built for flat art. It reads colors from the flat insides of shapes, traces one path per color, and checks the result against the original. On a 384-image test it passed 100% of 512 px PNGs, with files about a third the size of VTracer's.

### What images work best?

Icons, logos, emoji, and flat illustrations as PNG, JPG, or WebP, ideally 256 px or larger. Grayscale 3D-style art has its own shaded mode. Photos and color gradients are not a good fit.

### How do I know the SVG is accurate?

Every run draws the SVG back and compares it with the input. It reports the share of visibly different pixels and can save a preview with any misses marked in red.

### What do I get, and does it cost anything?

It is free. You get the skill folder: SKILL.md, the two Python scripts, and a bundled copy of the Potrace tracer. It is MIT licensed, and the source is on GitHub.

### Which AI tools does it work with?

It follows the open SKILL.md standard. It was tested in Claude Code, Codex, Claude.ai, and ChatGPT (Work mode). It needs Python 3.10 or newer where it runs.

### Does the output work in React or Tailwind?

Yes. Single-color icons use currentColor, so Tailwind text classes or CSS color recolor them. In JSX, import the file with SVGR or use it as an img. If you paste the markup inline, rename fill-rule to fillRule.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
