ImageSizer: Bulk resize images

Random utility I wrote this week. Imagine you have a bunch of pictures fresh off your 6-megapixel camera that you want to post on your blog, or email to someone. You've got a bunch of them, and they're all 3 or 4 megabytes. So you need to resize them down to a more reasonable size before you do anything else with them. There's certainly plenty of programs that can do this (even MS Paint), but it's still kind of a hassle.

So I wrote a little utility that lets you take a folder of images and set a maximum size for them. The utility will resize all of them to that size or smaller - maintaining aspect ratio - and save them in another folder. No fuss, no muss. I didn't spend a ton of time on handling error conditions or making it industrial strength. Seems to work fine for what I've done with it so far though. Supports JPG, PNG, GIF, and BMP.

Download the ZIP file with the source: ImageSize.Zip

The full Visual Studio 2005 project is in there, as is the built EXE (under ImageSizer/Release).

Note you'll need the .NET Framework 2.0 installed.

Print | posted @ Saturday, January 13, 2007 10:41 PM

Comments have been closed on this topic.