Hi,
Bitmap bmap = ContrastProcessing();
_current = (Bitmap)bmap.Clone();
Random rnd = new Random();
int a = rnd.Next();
_current.Save(Server.MapPath("~/Images/" + a + ".png"));
testimage.ImageUrl = "~/Images/" + a + ".png";