#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

#195 in Images

Download history 183/week @ 2024-08-31 57/week @ 2024-09-07 35/week @ 2024-09-14 14/week @ 2024-09-21 241/week @ 2024-09-28 54/week @ 2024-10-05 4/week @ 2024-10-12

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