The following code sample demonstrates how you can use the built-in ASP.NET classes to generate a graphical representation of a single line of text. The example is quite intuitive and only uses three parameters: (1) the text (2) font size and (3) font color. The generated graphic is a 256 color GIF image with transparency. This example includes a palette hack for forcing a transparent background on the GIF image. You can use this script to replace all email addresses on your website with GIF images which makes it difficult for email harvesters (spambots) to harvest.