Chinmaya Dash
How to reduce image resolution in C#?
By Chinmaya Dash in .NET on Jan 12 2017
  • Anil Satapathy
    Feb, 2017 27

    Nice one

    • 1
  • Naveen Bisht
    Feb, 2017 25

    hey kindly try this. https://www.codeproject.com/Questions/461866/Change-Image-Resolutionbut i will suggest you use jquery for same

    • 1
  • Chinmaya Dash
    Jan, 2017 12

    using (Bitmap bitmap = (Bitmap)Image.FromFile("file.jpg")){using (Bitmap newBitmap = new Bitmap(bitmap)){newBitmap.SetResolution(300, 300);newBitmap.Save("file300.jpg", ImageFormat.Jpeg);}}

    • 1
  • Anil Satapathy
    Feb, 2017 27

    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

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS