Skip to content

Image To ASCII converter library I wrote myself this time. It is certainly not the best one. This is one of my first libraries I EVER wrote. Hopefully there are way more to come :)

License

Notifications You must be signed in to change notification settings

electromaster0395/image-to-ascii-converter-library

Repository files navigation

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)

About

Image To ASCII converter library I wrote myself this time. It is certainly not the best one. This is one of my first libraries I EVER wrote. Hopefully there are way more to come :)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages