From the course: Visual Studio Developer Tips

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

The Image Optimizer extension

The Image Optimizer extension - Visual Studio Tutorial

From the course: Visual Studio Developer Tips

The Image Optimizer extension

- [Instructor] Big images look great on a computer screen but on your website, big images slow page load times and saturate network traffic. The solution of course is to lower the image size. File compression is a favorite tool in the web developer tool kit. This tip looks at an image compression utility that works on files in a visual studio project, no need to leave visual studio to shrink image files. It's called image optimizer and it's implemented as an extension. So I'll choose download, then install, and then restart visual studio. The image files for this demonstration are in this ASP.net MVC application You can see them here in the content folder. I've got two images folders with exactly the same images in both of them. The idea is I'll compress the ones in the compress folder and then you can compare the quality of the items in the before version and the after version. To compress a file, right click on it and choose image optimizer, I have two choices for the compression…

Contents