#graphics #color

ansinator_terminal_colors

A Library to convert an RGB8 color to a 256-terminal color

1 unstable release

Uses new Rust 2021

0.1.0 Sep 16, 2022

#930 in Data structures

Download history 46/week @ 2022-09-16 10/week @ 2022-09-23 16/week @ 2022-09-30 17/week @ 2022-10-07 13/week @ 2022-10-14 8/week @ 2022-10-21 11/week @ 2022-10-28 25/week @ 2022-11-04 8/week @ 2022-11-11 14/week @ 2022-11-18 11/week @ 2022-11-25

60 downloads per month
Used in 2 crates (via ansinator_ansi_image)

MIT license

11KB
328 lines

github crates

Ansinator is a collection of CLI programs to convert images to various character representation with support for ANSI escape code sequence

Installation

Cargo:

You can install the binary crate directly

cargo install ansinator 

Manual Installation:

you can clone ansinator repo and build it locally

git clone https://github.com/dax99993/ansinator
cd ansinator 
cargo install --path .

Programs

  • Ascii
  • Block
  • Braile 8-dot
  • Uniblock (sextant)

Todo

  • Best fitting ascii character analysis
  • Simple animation

License

MIT

Log

  • 0.2.2 Fixed convertion in braile and block, and fixed resizing.
  • 0.2.1 added both GRADIENT mode with PATTERN mode in ascii, and change help message and flags.
  • 0.2.0 replace GRADIENT mode with PATTERN mode in ascii.
  • 0.1.1 Uniblock convertion added, and extra options as fixed foreground and background
  • 0.1.0 Basic ascii, braile, block

No runtime deps