Graphics obj_Graphics; Bitmap obj_Bitmap = new Bitmap(500, 500); obj_Graphics = Graphics.FromImage(obj_Bitmap);
System.Web.HttpContext.Current.Response.ContentType = "image/jpeg"; obj_Bitmap.Save(System.Web.HttpContext.Current.Response.OutputStream, ImageFormat.Jpeg); obj_Bitmap.Dispose(); obj_Graphics.Dispose(); System.Web.HttpContext.Current.Response.End(); return obj_Bitmap;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)