#pixel-art #svg #png #converter #convert #tags #sized

app svg-pixels

A PNG to SVG per pixel converter

4 releases

0.1.3 Oct 4, 2024
0.1.2 Oct 1, 2024
0.1.1 Sep 6, 2024
0.1.0 Sep 6, 2024

#185 in Images

Download history 240/week @ 2024-09-03 19/week @ 2024-09-10 21/week @ 2024-09-17 10/week @ 2024-09-24 283/week @ 2024-10-01 15/week @ 2024-10-08

239 downloads per month

MIT license

11KB

svg-pixels

This library converts a png to an svg by making a 1 pixel sized rect tag for each pixel in the png. Mostly useful for pixel art.

https://crates.io/crates/svg-pixels

Install

cargo install svg-pixels

Use

svg-pixels <input.png> <output.svg>

Dependencies

~4.5MB
~86K SLoC