Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/claby2/ascii-generator
Python program to convert images into ASCII art.
https://github.com/claby2/ascii-generator
ascii numpy optparse pillow python
Last synced: 22 days ago
JSON representation
Python program to convert images into ASCII art.
- Host: GitHub
- URL: https://github.com/claby2/ascii-generator
- Owner: claby2
- License: mit
- Created: 2020-05-31T07:50:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T06:17:13.000Z (about 2 years ago)
- Last Synced: 2023-03-05T14:24:07.120Z (almost 2 years ago)
- Topics: ascii, numpy, optparse, pillow, python
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ASCII Generator
## Table of Contents
+ [About](#about)
+ [Getting Started](#getting_started)
+ [Usage](#usage)## About
Python program to convert images into ASCII art.### Prerequisites
```
numpy==1.16.2
Pillow==7.1.2
```### Installing
Install numpy
```
pip install numpy
```
Install Pillow
```
pip install Pillow
```1. Run: `python source.py --file image.png`
- Optionally, you can specify the height and width of the ASCII art (both defaults to 40 if not specified): eg. `python source.py --file image.png --width 100 --height 50`