LinuxQuestions.org
Help answer threads with 0 replies.
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, 10: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-23-2012 at 11:23 PM. Reason: code tags added
 
Old 04-23-2012, 11:29 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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-23-2012, 11:53 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
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, 01: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, 01:13 AM   #5
anon237
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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, 02:47 AM   #6
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
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 06:14 AM
How to convert encoding between ASCII text and ASCII English text astanton Linux - General 2 08-03-2011 03:55 PM
[SOLVED] How to convert binary number to text/ascii? peterson.julia Linux - Newbie 4 03-16-2011 11:45 PM
Convert ASCII text to an audio file ed_homeLinux Linux - Software 1 07-22-2005 12:30 PM
Convert cd images to dvd images rcsuk Debian 2 07-11-2005 10:34 AM

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

All times are GMT -5. The time now is 06:49 PM.

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
Open Source Consulting | Domain Registration