haakonn / svg2sixel

Render a SVG as sixel for display in terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 -

About

Render a SVG as sixel for display in terminal

License:Apache License 2.0


Languages

Language:Rust 100.0%