Skip to main content

Image to ASCII converter

Project description

This is a quick library I wrote which allows users to transform any image into an ASCII text file string image by just calling one method ".convertImageToASCII(image)" whereby image opened using the pillow library is passed as parameter "image". A string of lenght W*H is returned (with appropiate "\n" to get a new line/row), where W is image width and H is image height. The string when written to a text file will look just like the input image but each pixel replaced by a corresponding ASCII character depending on the pixel's brightness.

This library is written by Omar Maaouane at 12:00 11/12/2022 (DD/MM/YYYY) Change Log ================----

0.0.1 (11/12/2022)

-First Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Image To ASCII generator-1.0.2.tar.gz (1.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page