asciify.github.io

Asciify your images!

Do you want to Asciify your images? Talk to our Twitter bot!

Privacy Disclaimer

The Asciify Project

Asciify is as simple as is sounds: turn an image to its equivalent using Ascii characters. This transformation occurs by mapping the value of the pixels composing an image to a selection of characters so that the intensity of the color matches the amount of space occupied by the character.

This project features the Asciify module as well as the integration with Twitter, GitHub and GitLab APIs to provide a bot that is able to reply to your mentions with an asciified version of the image tweeted, as well as a link to a GitHub page were you can copy the characters that compose your image.

It is entirely built in Python, featuring Tweepy, PyGitHub and python-gitlab to manage the Twitter, GitHub and GitLab APIs, and Pillow for image processing.

In order for the images to be as straight as possible, a monospace font is required. For this particular project we used the JetBrains Mono Typeface, but any monospace font should be fine.

For any issue or suggestion, feel free to open a new issue, or DM me on Twitter.

Hope you enjoy! :)

Raw characters: https://asciify.github.io/sample1

Raw characters: https://asciify.github.io/sample2

Raw characters: https://asciify.github.io/sample3

Raw characters: https://asciify.github.io/sample4

Raw characters: https://asciify.github.io/sample5