There is a plugin available for Gimp - [Auto convert and resize images][1]
It automatically converts and resizes entire collections of images. The complete path of the images is read by the script of the text file to convert one complete path for every line of the text.