3 releases
0.1.2 | Jul 4, 2024 |
---|---|
0.1.1 | Jun 23, 2024 |
0.1.0 | Jun 23, 2024 |
#749 in Graphics APIs
125 downloads per month
12KB
55 lines
svg2sixel
Renders a SVG as sixels for display in terminals
Usage
As a library:
match svg2sixel::svg2sixel(svg_string) {
Ok(data) => println!("{data}"),
Err(err) => eprintln!("{err}"),
}
As a command line tool:
$ ./svg2sixel image.svg
or via stdin
cat image.svg | $ ./svg2sixel -
Dependencies
~10MB
~145K SLoC