Posted: . At: 12:33 PM. This was 9 years ago. Post ID: 8068
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.

How to convert a jpg image to ASCII using the Linux command line.

The jp2a package for Ubuntu will convert a jpeg image into an ascii text representation. This is useful for creating useful ascii images to post on the Internet. Install it by typing: sudo apt-get install jp2a and then convert an image this way.

~$ jp2a myimage.jpg

This will output ascii text to the terminal. A very good trick to show off your Linux terminal with.

jp2a converting a jpg to ascii.
jp2a converting a jpg to ascii.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.