I have tried figlet but it's not much good. Are there any other ASCII editors?
It should be said that the program will convert any jpg, but it is best to use simple, logo or cartoon like pictures as they come out much better. If you need to convert your image to jpg beforehand, just use
imagemagick's convert utility and run
convert logo.png logo.jpg.
There is often a need to fiddle with the
jp2a options to specify the characters used, the size of the ascii, or to invert the representation. Once you get the settings right you can get good results, however, as I display in the screenshot below. The results do, however, depend a lot on the image you have chosen to convert to ascii.
As an example, I have used the following command to do an ascii representation of the Ubuntu logo, which displays on the terminal screen and also saves to file: (This assumes the input
ubuntu-logo.jpg is in your present working directory)
jp2a -i --chars="..00xx@@" ubuntu-logo.jpg | tee ubuntu-logo.txt
Taking a step further, if you like to learn a new command with ascii art generated cartoon character like shown below.
You can use
cowsay utility and put a simple one line to learn new command.
sudo apt-get install cowsay
add below line to your
.zshrc file located at
~/.zshrc to get an ascii art character
cowsay -f $(ls /usr/share/cowsay/cows | shuf -n 1 | cut -d. -f1) $(whatis $(ls /bin) 2>/dev/null | shuf -n 1)
I love Linux-logo ( http://www.deater.net/weave/vmwprod/linux_logo/ ). Try adding it to the start of any terminal. Try finding the right logo for Ubuntu (-L)...
I have a 5 year old son who loves asciiquarium. Asciiquarium is a single perl script, so all you have to do is make sure it's executable and put it somewhere convenient, like
Additional requirements for Ubuntu
Get perl's curses package which is available from apt.
sudo apt-get install libcurses-perl
cpanfrom the shell. Agree to the defaults for everything. To leave cpan, type
sudo cpan Term::Animation
Here is a good ascii art generator: http://asciiart.club
y#▓▓▓▓▓▄ #▓▓▓▓▓▓▓▓▓ ¿╓╔###║###M╔ ▓▓▓▓▓▓▓▓▓▓ ╙║║║║║║║║║║║║║░ └▓▓▓▓▓▓▓▓┘ ╔╠░ ║║║║║║║║║║║║║N, └╙╩╩╙└ ╔╠╠╠╠╠, ╚║║║║║║║║║║║║║║M╔╓╓╓#N, ╓╠╠╠╠╠╠╠╠∩ ╙╙ └╙╙║║║║║║║║║║║N #╠╠╠╠╠╠╠╠╠╚ ╙║║║║║║║║║║ ╔╠╠╠╠╠╠╠╠╚ ╙║║║║║║║║║ .╓╔╔╓, ╙╠╠╠╠╠╠╚ ╙║║║║║║║║Γ .║║║║║║║║, ╠╠╠╠╠ ║║║║║║║║║ ║║║║║║║║║║ ╠╠╠╠░ ╚║║║║║║║║╠ ╠╠╠╠░ ╓»»»»»»»» ╙╚║║║║╚╙ #╠╠╠╠╠∩ ▓▓▓▓▓▓▓▓▒ ╔╠╠╠╠╠╠╠╠, \▓▓▓▓▓▓▓▓▓ `╠╠╠╠╠╠╠╠╠∩ #▓▓▓▓▓▓▓▓▓Ñ ╠╠╠╠╠╠╠╠╠╠ ╓@▓▓▓▓▓▓▓▓▓▓╜ ╙╠╠╠╠╠╠╚ ┌▓▓₧MmmM₧▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ╙╠╠╠∩ ╓▓▓▓▓▓▓▓▓▓▓▓▓▓▀░ └ ` #▓▓▓▓▓▓▓▓▓▓▓▓▓ ╓∩╠╠╠╠∩╔ "▀▓▓▓▓▓▓▓▓▓▓▓▓ #╠╠╠╠╠╠╠╠░ └└└└└└ ╠╠╠╠╠╠╠╠╠╠ ╚╠╠╠╠╠╠╠ └╙╙╙
It can generate in full color from a variety of character sets, from oldskool/amiga to ascii or extended (even braille!), and generates output in HTML, BBCode, Markdown, and even share an image on Imgur with one click.
Try it! -=cP