protected void Page_Load(object sender, EventArgs e) { string sUid = Request["uid"]; AntiRobotImage ari = new AntiRobotImage(sUid, 150, 50); Response.Clear(); Response.ContentType = "image/jpeg"; ari.Image.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg); }