Balssh / asciiart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASCII art converter

Simple script to convert an image to an ANSI representation of it

Prerequisites

You need to have python installed and then run the following commands:

git clone https://github.com/Balssh/asciiart
cd asciiart
pip install -r requirements.txt

Usage

python3 art.py [-i] [-w] [-f]

- i     the path to the image
- w     the width of the ascii image
- f     whether or not the foreground of the characters is set (default is set to False)

Example

python3 art.py -i wave.jpg -w 100

Converts the image Wave

to the ASCII representation Wave_ascii

About


Languages

Language:Python 100.0%