LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2012, 11:52 PM   #1
hahacc
Member
 
Registered: Oct 2010
Posts: 93

Rep: Reputation: 1
Is there a way to convert ASCII to Text images


Hi guys,
I'm looking for a software to convert ASCII characters to text images, for example:
Convert "sky" into the following:
Code:
################################################################################
#                                                                              #
#                               ####   #    #   #   #                          #
#                             #       #   #     # #                            #
#                             ####   ####       #                              #
#                                #  #  #       #                               #
#                          #    #  #   #      #                                #
#                          ####   #    #     #                                 #
#                                                                              #
################################################################################
Thanks for the help in advance!
PS:
it looks in a mess after pasting, but it should look like this:
http://www.doxer.org/wp-content/uploads/2012/04/1.jpg

Last edited by Tinkster; 04-24-2012 at 12:23 AM. Reason: code tags added
 
Old 04-24-2012, 12:29 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I only know tools that will do the opposite of what I think you want.

Convert an image to ASCII art. Or maybe I don't understand what you want
at all ... can you rephrase your request? =o)
 
Old 04-24-2012, 12:53 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
You could use one of the ImageMagick tools to create a .pnm image of large text, and then use that with the asciiview program. There are websites to produce ASCII art.
I couldn't locate a banner program in my repository.

You could write your own. It used to be common in magazines like compute in the '80s. Each letter could be represented by an array. Print out the first element of each letter array. Then the second elements, etc.
 
Old 04-24-2012, 02:03 AM   #4
hahacc
Member
 
Registered: Oct 2010
Posts: 93

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Tinkster View Post
I only know tools that will do the opposite of what I think you want.

Convert an image to ASCII art. Or maybe I don't understand what you want
at all ... can you rephrase your request? =o)
Thanks.
Actually, what I want to do is that, whether there's a program which accepts characters, such as "sky" and then it produces a text image(not image file, but just image text) so that I can put it in /etc/motd. Like this(but it should be text): http://www.doxer.org/wp-content/uploads/2012/04/1.jpg
 
Old 04-24-2012, 02:13 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390
Hi,

You cannot put an image in /etc/motd, you can put a banner inside it.

Have a look here: HOWTO: Use the banner (banner.c) Command To Create Login Banners

Hope this helps.
 
1 members found this post helpful.
Old 04-24-2012, 03:47 AM   #6
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by hahacc View Post
I'm looking for a software to convert ASCII characters to text images
I think this is what you're looking for: http://www.figlet.org/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] What is the difference between "ASCII English text" and "ASCII text" ??? astanton Slackware 13 08-05-2011 07:14 AM
How to convert encoding between ASCII text and ASCII English text astanton Linux - General 2 08-03-2011 04:55 PM
[SOLVED] How to convert binary number to text/ascii? peterson.julia Linux - Newbie 4 03-17-2011 12:45 AM
Convert ASCII text to an audio file ed_homeLinux Linux - Software 1 07-22-2005 01:30 PM
Convert cd images to dvd images rcsuk Debian 2 07-11-2005 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration