#svg #sixel #display #terminal #render #image #command-line

bin+lib svg2sixel

Render a SVG as sixel for display in terminal

3 releases

0.1.2 Jul 4, 2024
0.1.1 Jun 23, 2024
0.1.0 Jun 23, 2024

#749 in Graphics APIs

Download history 20/week @ 2024-07-26 2/week @ 2024-08-02 15/week @ 2024-09-13 8/week @ 2024-09-20 29/week @ 2024-09-27 5/week @ 2024-10-04

125 downloads per month

Apache-2.0

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