#xterm

bin+lib xterm256_converter

A Rust utility for converting images to terminal color sequences

3 unstable releases

Uses old Rust 2015

0.2.1 Apr 22, 2019
0.2.0 May 4, 2018
0.1.0 Apr 22, 2018

#9 in #xterm

MIT license

18KB
444 lines

xterm256-converter

Crates.io

A Rust utility for converting images to terminal color sequences.

API documentation

Install

cargo install xterm256_converter

Usage

xt256-conv -o OUTPUT_FILE INPUT_FILE

You can then cat the output file.

Credits

Greatly inspired by https://gist.github.com/sfan5/2d971a5a087881a966c3
Ferris pixelart image https://redd.it/62yv2i

Dependencies

~6.5MB
~107K SLoC