Image Optimizer


A Visual Studio extension that optimizes PNG, GIF and JPG file sizes without quality loss. It uses SmushIt and PunyPNG for the optimization.

(43) Review
Visual Studio
2013, 2012, 2010, 14
Download (93,108)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (43)
Q and A (32)
Sign in to write a review
Sort by:

by dale_janssen | August 01 2012

I found many times the PunyPNG and Smushit websites either timed out or returned 500 errors. While I realize this is not the tool's fault, it does limit the usefulness.

In addition, while working with Assembla as a code repository, it will often delete images that do not need optimizing. Those that were optimized are saved properly. Can't seem to see a pattern, but once again this really limits the usefulness. If you optimize a folder, you have to figure out what images are deleted that should not have been from others that were optimized.

by John R. Cutburth II | April 22 2012

This is a great tool. I wish more Web developers would think about how much bandwidth we are wasting.

by Trevor Forrester | April 13 2012

I am having exception errors using it with VS 2010 Sp1

by Titatuh | April 01 2012

As I tried - works super!

by Daniel Carey | March 29 2012

by NateClark | March 09 2012

Awesome. Thanks for taking it to VS11!

by denhul01 | January 16 2012

looks nice but it seems it screws up my positioning of team explorer and other stuff.. I constantly have to move the windows to what I'm used to.
Once uninstalled the problem stopped?

Anyone else with this problem?

@Mads Kristensen
(oddly I didn't find a way to reply.. maybe I overlooked it :) )
The Team Foundation window, pending changes,... did a new install and now it's working fine.. must have been a Visual Studio hiccup :)

by MosaliR | December 30 2011

by | December 23 2011


by nigwoko | December 21 2011

by Cengiz Gür | November 02 2011

Programatik olarak eklenen bazı resimleri görmüyor, fakat genel olarak kullanışlı bir uygulama.

by tmcconechy | October 28 2011

So useful...Love it

by Froogabadoodle | October 27 2011

Awesome, awesome, awesome. The optimization is great, but my favorite thing about this is the mouseover thumbnails of images in Solution Explorer.


by Mufasa245 | October 20 2011

by Ehsan Mohammadi | October 07 2011

by CssGuru | September 30 2011

Sounds very promising, but I couldn't get it to work.

Mads Kristensen September 30 2011
| Edit |

This is probably because you're image files are under source control. Check them out first and then run Image Optimizer. I'm working on an update that will check out the files from source control automatically

by AlexDrel | September 01 2011

Embedding images in CSS is not working for me, but great anyway.

Mads Kristensen October 20 2011
| Edit |

That feature was moved to the Web Essentials extension

by Waxime | July 20 2011

Good tool

by Christian Metz | May 16 2011

Easy to use and realy helpfull

by Jochem Bökkers | April 24 2011

Simple but so brilliant!

21 - 40 of 43 Items   
Sign in to start a discussion

  • The remote name could not be resolved
    3 Posts | Last post Mon 2:14 PM
    • Hi all,
      this toll is awesome. They save me a lot of time.
      But unfortunately today it just stop working
      I tried remove and install again, restart VS but noting help. Pls tell me if someone have solution for this problem. 
      Message which I got:
      ------ Image optimization started -----
      The remote name could not be resolved: ''
      D:\Current\images\ActivationInstructions01.png - using
      1 skipped. 0 optimized. Total savings 0%
      ------ Image optimization finished -----
    • This is also happening to me when I try to use the plugin.  Was there a response to this issue at all?
    • Is there a known fix for this? It appears to still be happening.
  • PunyPNG returns 502
    1 Posts | Last post February 26, 2015
    • The PunyPNG domain seems to have gone down, it now returns 502 on any call (including in browser)
  • Video link broken
    2 Posts | Last post January 20, 2015
    • The right link should be:
  • And ... what's about SVG?
    1 Posts | Last post September 08, 2014
    • Hi Mads,
      I know, optimizing SVG graphics/images is something complete different and difficult in comparison to PNG & Co, but ... any chance to integrate a kind of TinySVG?
      Kind regards,
  • optimizer image using c# code
    1 Posts | Last post July 25, 2014
    • how i optimize image using c# code. i want to use same technique as you have used in image optimizer. Just i want to implement it in my c# code 
  • How to use image optimizer c# using code
    1 Posts | Last post July 25, 2014
    • How to use image optimizer c# using code
  • Skip optimization for some images
    1 Posts | Last post June 16, 2014
    • Works great, but having an issue that the optimiazation adds some artifacts for some png images that I dont want. (background images with solid colors changing from dark to light grey)
      Can I prevent it from optimizing a few images in the solution?
  • (417) Expectation Failed.
    1 Posts | Last post June 13, 2014
    • Im getting this error
      The remote server returned an error: (417) Expectation Failed.
      im behind a company proxy
  • SVG next?
    1 Posts | Last post January 16, 2014
    • Expanding optimizations to also include SVG would be sweet. SVGO is an available library for this, or this one:
  • An exception occurred during a WebClient request.
    3 Posts | Last post January 03, 2014
    • Hi Mads, 
      I'm getting the following error when trying your extension.  I'm guessing it might be a firewall issue but I don't have much information to go on.  Any clue?
    • An exception occurred during a WebClient request.
    • I am having this same issue ("An exception occurred during a WebClient request"), but I don't believe it is a firewall problem.  I watched the request/response in Fiddler, and it very clearly gets a response of 200 with a JSON object in the payload describing how much the image was "smushed" and where the new image resides.  I don't see a follow-up request that actually retrieves the smushed image, though, so I'm guessing this is where the error is occurring.  Any ideas?
      Running v2.0
1 - 10 of 32 Items