https://github.com/balssh/asciiart
https://github.com/balssh/asciiart
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/balssh/asciiart
- Owner: Balssh
- Created: 2022-08-08T19:30:39.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-08T19:58:36.000Z (almost 4 years ago)
- Last Synced: 2024-11-12T22:21:49.428Z (over 1 year ago)
- Language: Python
- Size: 819 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```bash
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
-
```bash
python3 art.py -i wave.jpg -w 100
```
Converts the image

to the ASCII representation
