Solved

Converting text to an image or picture

Posted on 2001-06-13
10
182 Views
Last Modified: 2010-05-02
I need to convert regular text into an image or picture, something along the lines of a GIF.

I am using Visual basic, i have all the text in a variable and i would like to use something with perhaps a command-line, where i give it the text and it converts it into the gif image with the filename that i have specified.

Any other, better solutions.....other than the command-line, would be greatly appreciated!!
thanks
0
Comment
Question by:jenniferg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 3
10 Comments
 
LVL 38

Expert Comment

by:PaulHews
ID: 6187181
You can use .Print or TextOut api to print to a Picture box, then save picture that to a file, but you will need third party tools to save to anything but a .bmp.

Picture1.AutoRedraw = True
Picture1.Print "Hello World"
SavePicture Picture1.Image, "C:\Temp\Test.bmp"
0
 
LVL 38

Expert Comment

by:PaulHews
ID: 6187193
.Gif or .png are best suited for text.  .gif has copyright issues so most inexpensive tools avoid it, .png has no copyright problems, but some older browsers wouldn't handle it.  :(
0
 

Author Comment

by:jenniferg
ID: 6187466
I have never heard of a .png file, is there any way you could give me more information on this file type, and where i could find a 3rd party tool that would convert my text into a .png file?

Also, any idea how i can go from either text to a .gif or even from the .bmp that i have created to a gif....

If you have answers to either of these, even if its an app that will cost me, could you pass it on?

(an extra 50 points for this extra information!)
Thanks!
0
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
LVL 38

Accepted Solution

by:
PaulHews earned 250 total points
ID: 6187491
The PNG format:

http://www.piclab.com/works/png.html

Cheap tool that does PNG but not GIF

ImgSource by SmallerAnimals (nice tool we have it here.)

http://www.smalleranimals.com/isource.htm
0
 
LVL 38

Expert Comment

by:PaulHews
ID: 6187505
Warning about PNG...while it is an excellent format, it is not in use much.  Older browsers won't support it and it has not become a real standard the way GIF and JPG have...yet.
0
 

Author Comment

by:jenniferg
ID: 6187569
Any tool that you know of that DOES do .gif?
:)
0
 
LVL 38

Expert Comment

by:PaulHews
ID: 6187577
0
 
LVL 38

Expert Comment

by:PaulHews
ID: 6187633
The nice thing about leadtools is that they are not a fly-by-night.  They've been around a long time so their tools will be well supported.
0
 

Author Comment

by:jenniferg
ID: 6187693
Paul, thanks for your help, we will be going with the PNG format as it seems to be the easiest and we won't have a problem with older browsers!
Jen
0
 
LVL 38

Expert Comment

by:PaulHews
ID: 6187722
You're welcome, Jennifer. Happy to help. :)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question