Search code examples
asp.netperformancehttp-compression

How to compress images in asp.net?


I am working in asp.net webapi. I have 30 to 40 images in my resource folder. Is there anyway I could compress my images programatically instead of manually, resizing the images in resources?


Solution

  • If you're talking about resizing images, there are plenty of tutorials on the Internet, and a good answer on SO:

    ASP.NET Image uploading with Resizing