?
Solved

"Hello World" to .GIF - HOW?

Posted on 2006-07-02
5
Medium Priority
?
226 Views
Last Modified: 2010-04-16
My boss wants to show text on webpages such that Search-Spiders cannot easily scrape the info ...

So, I need to convert flat text into .JPG or .GIF in C# code-behind in an ASP.NET server-side class. The really tricky part is, the text must be magnified/shrunk and line-wrapped to appear as "best-possible-use-of-visual-space" in an exact image size of H:100px -by- W:150px.

Darn! I don't even know where to start looking for a solution!

Any help appreciated!
0
Comment
Question by:volking
  • 2
4 Comments
 
LVL 22

Accepted Solution

by:
Mohammed Nasman earned 1600 total points
ID: 17026540
this code in vb.net, so it will give you a start
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=3696&lngWId=10

not the same as you wanted, but it will help you to do what do you want
http://www.codeproject.com/aspnet/AspNetCreateTextImage.asp
0
 
LVL 22

Assisted Solution

by:Mohammed Nasman
Mohammed Nasman earned 1600 total points
ID: 17026548
0
 
LVL 5

Author Comment

by:volking
ID: 17026855
@mnasman - Thanks! I'll check-out the links but I'm encouraged ... captcha distorts images ... and the boss wants to apply different font-familys and font-colors such that the resultant images "look" fairly normal.
0
 
LVL 5

Assisted Solution

by:pgloor
pgloor earned 400 total points
ID: 17041871
If you know how to create a gif or a jpeg file from a Bitmap, this might be for you:

http://www.codeproject.com/dotnet/vbtextoverlay.asp

The article/example has been written for VB.NET. However, the core functions have been ported to C#.

The example might not been complete, but is a good starting point for solving your problem.

Peter
0

Featured Post

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.

Question has a verified solution.

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month14 days, 7 hours left to enroll

839 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