- 💎 High-quality pixel art conversion from PNG to SVG
- 🤖 Batch process entire folders of files with one command
- 🗂 Retain original directory structure with recursive reads and writes
- ✨ Built-in SVG optimization with svgo
- ⚡️ Optional, non-destructive resizing of your original graphics with sharp
- 🚧 npm package soon
# Batch directory conversion
pnpm convert -i ../input/dir -o ../output/dir
# Resize original images before converting to SVG
pnpm convert -i ../input/dir -o ../output/dir -w 24 -h 24
# Resize square graphics
pnpm convert -i ../input/dir -o ../output/dir -w 24
- Clone this repo
- Install dependencies:
pnpm install
- Run with
pnpm convert
ornode ./index.js
- Move logging behind
verbose
option - Improved efficiency when resizing before conversion
- Progress indication / spinners; useful printouts upon completion
- Option for converting individual files