Crates.io | svg2sixel |
lib.rs | svg2sixel |
version | 0.1.2 |
source | src |
created_at | 2024-06-23 13:06:04.834569 |
updated_at | 2024-07-04 12:13:56.761633 |
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 | 35,490 |
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 -