3 releases
0.1.2 | Jul 4, 2024 |
---|---|
0.1.1 | Jun 23, 2024 |
0.1.0 | Jun 23, 2024 |
#741 in Graphics APIs
34 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
~11MB
~147K SLoC