[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 188
  • Last Modified:

Converting text to an image or picture

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
jenniferg
Asked:
jenniferg
  • 7
  • 3
1 Solution
 
PaulHewsCommented:
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
 
PaulHewsCommented:
.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
 
jennifergAuthor Commented:
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
PaulHewsCommented:
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
 
PaulHewsCommented:
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
 
jennifergAuthor Commented:
Any tool that you know of that DOES do .gif?
:)
0
 
PaulHewsCommented:
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
 
jennifergAuthor Commented:
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
 
PaulHewsCommented:
You're welcome, Jennifer. Happy to help. :)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 7
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now