Hola.
Lo que yo haría primero es probar tu aplicación sin recibir el parametro, sino que directamente donde generas la foto le pongas un texto fijo, para que descartes algún problema al recibir por parametro.
La verdad es que no lo recuerdo en este momento, pero deberías ver por las dudas cuando escribes la imagen si alguno de los objetos tiene la posibilidad de que especifiques el tipo de encoding como cuando escribes o lees un fichero de texto que tiene ese parametro opcional
De ultima acá podes ver un ejemplo que hace algo parecido a la que vos queres, escribe en una imagen un texto:
Código:
<%@ Page Language="VB" Debug="True" %>
<%@ Import Namespace="System.Drawing" %>
<%@ Import Namespace="System.Drawing.Imaging" %>
<%@ Import Namespace="System.Drawing.Text" %>
<%
' Declare Vars
Dim objBMP As System.Drawing.Bitmap
Dim objGraphics As System.Drawing.Graphics
Dim objFont As System.Drawing.Font
' Create new image - bitmap
objBMP = New Bitmap(100, 30)
' Create a graphics object to work with from the BMP
objGraphics = System.Drawing.Graphics.FromImage(objBMP)
' Fill the image with background color
objGraphics.Clear(Color.Green)
' Set anti-aliasing for text to make it better looking
objGraphics.TextRenderingHint = TextRenderingHint.AntiAlias
' Configure font to use for text
objFont = New Font("Arial", 16, FontStyle.Bold)
' Write out the text
objGraphics.DrawString("ASP 101", objFont, Brushes.White, 3, 3)
' Set the content type and return the image
Response.ContentType = "image/GIF"
objBMP.Save(Response.OutputStream, ImageFormat.Gif)
' Kill our objects
objFont.Dispose()
objGraphics.Dispose()
objBMP.Dispose()
%>
Acá en esto otro link podes ver algo similar que escribe texto en una foto existente:
http://www.codeproject.com/KB/web-im...xtOnImage.aspx
Si no te sirve avisame asi vemos como ayudarte. Por otro lado gracias por este pregunta porque varios me recomiendan meter imagen para los registros de usuarios en los sitios.