Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }