tapciify 2.2.0

CLI tool that can let you view images in terminal as ASCII art
Documentation
<p align="center"><img width="300" src="./assets/logo.webp"/></p>

<h1 align="center">Tapciify</h1>

<p align="center">CLI tool that can let you view images in terminal as ASCII art</p>

## Requirements


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

2. [Rust]https://www.rust-lang.org/tools/install

## Install


```bash
cargo install tapciify
```

## View image


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

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

## View video


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

> Requires ffmpeg

1. Make frames from video into dir:

```bash
mkdir frames; ffmpeg -i badapple.mkv -r 24 frames/%08d.jpeg
```

2. Run:

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

## Examples


| Original                                         | ASCII                                               | ASCII colored                                              | Pixels                                                       |
| ------------------------------------------------ | --------------------------------------------------- | ---------------------------------------------------------- | ------------------------------------------------------------ |
| ![Original Image]assets/examples/original.webp | ![ASCII image]assets/examples/ascii.webp          | ![ASCII colored image]assets/examples/ascii-colored.webp | ![Image using pixels (█)]assets/examples/ascii-pixels.webp       |
| `Original image`                                 | `tapciify -i ./assets/examples/original.webp -w 64` | `tapciify -i ./assets/examples/original.webp -w 64 -c`     | `tapciify -i ./assets/examples/original.webp -w 64 --pixels` |