Image Optimizer


Uses industry standard tools to optimize any JPEG, PNG and Gifs - including animated Gifs. Can do both lossy and lossless optimization.

(50) Review
Visual Studio
2015, 2013, 2012, 15
Download (192,050)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (50)
Q and A (41)
Sign in to write a review
Sort by:

by mundole | February 19 2016

by stmarti1 | December 07 2015

Where is the old "image sprite" option?

by InvalidCast_ | October 26 2015

thank you for your wonderfull extension!

i added some other tools to your png.cmd
i understand they might not suit evereyone needs, but they compress a little bit more:

optipng %1 -out %2 -o3 -i0
pngout %2 %2 /s0 /y /v /kpHYs
pngcrush -ow -rem alla -nofilecheck -reduce -m 7 %2 chose.png
pngquant --ext=.png --force --verbose --quality=99-100 %2
advpng -z -4 %2

again, thank you very much

by Bluesays | October 05 2015

by itiwant | May 06 2015

Hi Mads!
the version before have a function image to base64, but this version i dont see that
i hope to see that funtion!
thank you!

Mads Kristensen May 06 2015
| Edit |

It's coming

by bradygaster | April 21 2015

by Sayed-Ibrahim-Hashimi | April 21 2015

Thanks Mads!

by Cosmin Nicu Tîrpescu | August 05 2014

Foarte bun, recomand!

by cam-D357 | July 08 2014

I love that tool ! Thanks for sharing !

by Bob Blork | May 30 2014

nice! works very well!

by Christiaan Rakowski | May 29 2014

by David De Sloovere | October 09 2013

Can't get easier than this.
Mads for president!

by Gundepuneni Mahender | September 13 2013

by eldiosyeldiablo | August 14 2013

by Charlie Shen | June 17 2013

by D. Chatterjee | May 20 2013

Helps a lot with Images

by bas klvn | March 07 2013

very handy tool. Thanks!

by Waqas M | February 08 2013

Nice tool

by Caio Vilas Boas | December 07 2012

Works great! Reduces 30% (average) of images size.

by Scott Wylie | November 29 2012

Great tool when it works but I get a lot of Operation Timeouts (which I know is not the tools fault). After about 500 images it crashed VS 2012 Update 1.

1 - 20 of 50 Items   
Sign in to start a discussion

  • Compress images while uploading
    1 Posts | Last post May 09, 2016
    • Hi
      I am uploading images from a webform, then resizing and saving different versions of the file. I am using BitMap images to draw new images.
      Is there a way (extension) to compress images programmatically just like you do it in this tool?
  • VS 2015 and PNG?
    1 Posts | Last post March 18, 2016
    • I think it is now working with VS 2015. My Executable is always bigger after compressing the PNG images.
  • New feature?
    1 Posts | Last post February 19, 2016
    • Do you think that this would be an acceptable addition to your tool?
      It has an open API...
  • Detected as Malware by Windows Defender?
    3 Posts | Last post February 09, 2016
    • Windows Defender detected this extension as malware.  
      Detected item: PWS:Win32/Lineage.gen!C.dam
    • Might be a false positive? 
    • TrendMicro Officescan also flagged the entire .vsix package with 3 viruses.
      May have to go to GitHub and get a diff version... 
  • Not able to run Image optimizer in VS 2013
    1 Posts | Last post September 25, 2015
    • I came across this great tool and thought of trying it with in my project which uses many images. Unfortunately after installing it on any image if i run this the visual studio crashing. It seems its working for others well. let me know if any body know the reason for this crash?
  • Output not shown in VS2015
    1 Posts | Last post July 21, 2015
    • Hello, the tool works very nice! I only don't see the output from it in the Output window. The dropdown also doesn't show an option named 'Image Optimizer'. Am I overlooking something?
      I'm using VS2015 RTM.
      Thanks in advance!
  • The remote name could not be resolved
    8 Posts | Last post May 06, 2015
    • 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.
    • I'm seeing this as well:
      The remote name could not be resolved: ''
      Is there a place at yahoo to check on this?
    • Same issue here
    • Same problem here!
    • Fixed in version 3.0
    • @Mads tnx a lot! It work now!!
  • An exception occurred during a WebClient request.
    4 Posts | Last post April 21, 2015
    • 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
    • Fixed in version 3.0
  • (417) Expectation Failed.
    2 Posts | Last post April 21, 2015
    • Im getting this error
      The remote server returned an error: (417) Expectation Failed.
      im behind a company proxy
    • Fixed in version 3.0 that no longer requires the use a remote web service
  • optimizer image using c# code
    2 Posts | Last post April 21, 2015
    • 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 
    • Here's how I do it:
1 - 10 of 41 Items