tapciify

Crates.iotapciify
lib.rstapciify
version3.3.1
sourcesrc
created_at2023-01-11 08:24:05.523273
updated_at2024-04-29 02:16:27.882088
descriptionCLI tool that can let you view images in terminal as ASCII art
homepagehttps://github.com/tapciify/tapciify
repositoryhttps://github.com/tapciify/tapciify
max_upload_size
id756241
size108,324
Aleksei Rybin (tapnisu)

documentation

https://docs.rs/tapciify

README

ASCII Rin Shima

Tapciify

CLI tool that can let you view images in terminal as ASCII art

Requirements

  1. CC linker (Windows - Microsoft Visual Studio with C++ Support) (Linux - gcc)

  2. Rust

Installation

cargo install tapciify

Converting image

  1. Run: tapciify -i imagePath -w imageWidth for image.

  2. Run: tapciify -i imagePath -w imageWidth -r for reversed colors.

Converting video

In this example I set framerate to 24 (but you can use any another)

Requires ffmpeg

  1. Make frames from video into dir:

    mkdir frames; ffmpeg -i bad_apple.mkv frames/%08d.jpeg
    
  2. Run:

    tapciify -i frames/* -w videoWidth -f 24
    

Examples

Original ASCII ASCII colored Pixels Braille Braille colored Background string
Original Image ASCII art ASCII colored art ASCII art using pixels (█ symbol) Braille Braille colored Background string
Original image tapciify -i ./assets/examples/ferris.webp -w 64 tapciify -i ./assets/examples/ferris.webp -w 64 -c tapciify -i ./assets/examples/ferris.webp -w 64 --pixels tapciify -i ./assets/examples/ferris.webp -w 64 -b tapciify -i ./assets/examples/ferris.webp -w 64 -bc tapciify -i ./assets/examples/bad-apple.webp -w 64 --background-string badapple
Commit count: 427

cargo fmt