Small utility for converting images and videos into ASCII.
- cargo
After installing both, just run install.sh by:
$ git clone https://github.com/Krak9n/ranni.git
$ cd ranni/
$ chmod +x install.sh
$ ./install.sh
Supports only image formats provided by image, and video format by ffmpeg_next.
To execute just run:
ranni -t image -i ~/images/photo.png -s 6
in which first argument is type of an input(image or video), second is the path to image/video, and the third is the scale of printing.
- RGBA colors (couldn't figure out)
- video to ascii
- more user friendly options for input
If you want to save it for later
Just add standard flag > filename.format
Example:
ranni -t image -i ~/Downloads/love.png -s 6 > save.txt
- this amazing tutorial