Nice one
hey kindly try this. https://www.codeproject.com/Questions/461866/Change-Image-Resolutionbut i will suggest you use jquery for same
using (Bitmap bitmap = (Bitmap)Image.FromFile("file.jpg")){using (Bitmap newBitmap = new Bitmap(bitmap)){newBitmap.SetResolution(300, 300);newBitmap.Save("file300.jpg", ImageFormat.Jpeg);}}
using (Bitmap bitmap = (Bitmap)Image.FromFile("file.jpg")){using (Bitmap newBitmap = new Bitmap(bitmap)){newBitmap.SetResolution(300, 300);newBitmap.Save("file300.jpg", ImageFormat.Jpeg);}}0