Image Optimizer for Visual StudioDownload this extension from the Visual Studio Marketplace or get the CI build Uses industry standard tools to optimize any JPEG, PNG and Gifs - including animated Gifs. It can do both lossy and lossless optimization. FeaturesAdds a right-click menu to any folder and image in Solution Explorer that let's you optimize all images in that folder.
Optimize imagesSimply right-click any file or folder containing images and click one of the image optimization buttons. You can also right-click a folder to optimize all images inside it. Best qualityIf you chose best quality optimization, the tool will do its optimizations without changing the quality of the image. Best compressionIf you decide to sacrifice just a small amount of image quality (which in most cases is unnoticeable to the human eye), you will be able to save up to 90% of the initial file weight. Lossy optimization will give you outstanding results with just a fraction of image quality loss. Image resizeYou can resize images by using the Resize Image dialog. You get to it by right-clicking any single image (jpg, gif, and png only). Output windowThe Output Window shows the detailed output from the optimization process and progress is displayed in the status bar. PerformanceOptimizing an image can easily take several seconds which feels slow. This extension parallelizes the workload on each CPU core available on the machine. This speeds up the optimization significantly. API for extendersAny extension can call the commands provided in the Image Optimizer extension to optimize any image.
The commands are:
How can I help?If you enjoy using the extension, please give it a ★★★★★ rating on the Visual Studio Marketplace. Should you encounter bugs or if you have feature requests, head on over to the GitHub repo to open an issue if one doesn't already exist. Pull requests are also very welcome, since I can't always get around to fixing all bugs myself. This is a personal passion project, so my time is limited. Another way to help out is to sponsor me on GitHub. |