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

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

#151 in Images

Download history 240/week @ 2024-09-02 39/week @ 2024-09-16 11/week @ 2024-09-23 278/week @ 2024-09-30 20/week @ 2024-10-07

348 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