There is a program called Irfanview that can batch resize all images in a folder to one new size, or each by the same percentage, and place them in a new folder
From that you would just need a script to trigger the program to do it I guess.
Not exactly what you wanted, but better than nothing?