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

bin+lib svg2sixel

Render a SVG as sixel for display in terminal

4 releases

new 0.2.0 Dec 27, 2024
0.1.2 Jul 4, 2024
0.1.1 Jun 23, 2024
0.1.0 Jun 23, 2024

#788 in Graphics APIs

Download history 15/week @ 2024-09-16 9/week @ 2024-09-23 33/week @ 2024-09-30 2/week @ 2024-12-09 141/week @ 2024-12-23

143 downloads per month

Apache-2.0 and LGPL-3.0

13KB
96 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