| Crates.io | svg2sixel |
| lib.rs | svg2sixel |
| version | 0.2.0 |
| created_at | 2024-06-23 13:06:04.834569+00 |
| updated_at | 2024-12-27 23:10:39.502155+00 |
| description | Render a SVG as sixel for display in terminal |
| homepage | https://github.com/gulrotkake/svg2sixel |
| repository | https://github.com/gulrotkake/svg2sixel |
| max_upload_size | |
| id | 1281190 |
| size | 37,482 |
Renders a SVG as sixels for display in terminals
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 -