/ascii-generator

Python program to convert images into ASCII art.

Primary LanguagePythonMIT LicenseMIT

ASCII Generator

Table of Contents

About

Python program to convert images into ASCII art.

Getting Started

Prerequisites

numpy==1.16.2
Pillow==7.1.2

Installing

Install numpy

pip install numpy

Install Pillow

pip install Pillow

Usage

  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