GIMP is free, although I don't know about batch editing. However, Picasa will do all that and batch stuff, too. Resizing is a little weird in Picasa but the indexing is super helpful, I use it in concert with GIMP.