Mads Kristensen wrote an Extension for Visual Studio 2010 to optimize images inside folders with just one click. This extension will be really helpful for Web developers where the image size is an issue always.
You can select one more more folders (use control key to select more folders), right click and select Image optimizer from the menu. That's all
Before
After
See the video of Image optimizer extension inaction
Read more here