your code works fine
i do not have directory i have seperate images like this
how to combine images in given scenerio where i do not want to comobine whole directory just merge 2 images on page
Image1.ImageUrl = "~/dynamicimage/1ec03c88-f851-4eda-98ae-098e21c03848.jpg";
Image2.ImageUrl = "~/dynamicimage/205ce54d-ecdc-4001-911e-eec2125b618c.jpg";
Image3.ImageUrl = "~/dynamicimage/2234eb73-b694-43f7-a374-5a262cd92550.jpg";
string finalImage = Server.MapPath("~/Final/") + "FinalImage.jpg";
CombineImages(files, finalImage);
imgFinal.ImageUrl = "Final/FinalImage.jpg";