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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for Image To ASCII generator-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77ef62cda4e323d2c71b2908352d66338c031781dd013fae55b8eefab3b26df3 |
|
MD5 | 7f92231ab1110ae00911aaf636ec4468 |
|
BLAKE2b-256 | f0a7b983119325cb03eab6d918ee21c49998cff1a992739c0b4c27f08bed2a1a |