Image to ASCII art

For this we will use

$jp2a

Jp2a is a program to change any picture that you want, to ASCII art, and it generates HTML codes as well.

To install jp2a in linux, run the following command in your terminal:

$ sudo apt-get install jp2a

Now to change the picture to ASCII, just enter the directory of the picture, and run this command:

$ jp2a picture.jpg

and if your picture is in .PNG, you have to convert it to .JPG first to change to ASCII. to convert run this command:

$ convert Picture.PNG Converted-Pictrue.JPG

Now just have fun!

example
if you want to generate an HTML code, run the following command:
$jp2a –html picture.jpg

Advertisements

3 thoughts on “Image to ASCII art

  1. After study a few of the blog posts on your website now, and I truly like your way of blogging. I bookmarked it to my bookmark website list and will be checking back soon. Pls check out my web site as well and let me know what you think.

  2. excellent submit, very informative. I wonder why the opposite experts of
    this sector don’t understand this. You must
    continue your writing. I am sure, you’ve a huge readers’
    base already!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s