loadedFilePath = Server.MapPath("~/path/folderName"); System.Drawing.Image imgctl = null;imgctl = System.Drawing.Image.FromFile(fullFilePath);// Resize the Image imgctl = imgctl.GetThumbnailImage(imgctl.Width / 2, imgctl.Height / 2, null, IntPtr.Zero); // converting the tiff image to .jpgloadedFilePath = loadedFilePath + "\\" + fileName + ".jpg";imgctl.Save(loadedFilePath, ImageFormat.Jpeg);ImgViewer.ImageUrl = "~/path/folderName/" + fileName + ".jpg";