ImageMagick on windows
Note to self: Next time you need to do a bulk manipulation of many many gigabytes of images, before you launch off on a project to write a console app that uses GDI+ and does all cool but essentially unnecessary stuff, have a chat with the Unix boys first. In fact any time you need to do something in a bulk / batch / scripted manner it’s worth talking to them first.
If I had followed my own advice I would have seen ImageMagick has a build for Windows and ships with a good tool for compressing JPEG and other formats, from the command line. there’s a convert command and a mogrify command. Mogrify overwrites the source file (ie changes it), compress will output to another file. Brilliant. Also released under the GPL. If you have a website with a wealth of uploaded images and you want to save some space, consider running this over your old images. Quality at 75% looks good, and the space savings are huge.