#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

#165 in Images

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
~84K SLoC