Solved

"Hello World" to .GIF - HOW?

Posted on 2006-07-02
5
222 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
[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
  • 2
5 Comments
 
LVL 22

Accepted Solution

by:
Mohammed Nasman earned 400 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 400 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 100 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Title # Comments Views Activity
Calculate number of nights between two dates 5 93
"Emulate" TAB key when press Enter Key 3 72
C# Linq Select From List 3 46
Securing WEBAPI on Azure 2 27
Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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