I’ve been waiting to send some 150 pictures from my trip to Rome to my father, but have been reluctant since each picture is 2mb+ in size. They were originally in huge resolutions as well, which my father wouldn’t take much joy from given his 1024×768 screen res. Of course I could resize them manually in the Gimp, but since I’ve grown used to batch processing in Photoshop I denied myself the possibility. After a bit of looking at the Script-Fu scripts for the Gimp, I stumbled over this article at novell.com called Batch Resize Images Using Imagemagick. I’ve only tried Imagemagick when working with online gallery scripts, so running it locally just didn’t occur to me.
So, having made a backup copy of the images I simply did:
sigg3[pics]$ mogrify -resize 1024x768! *.JPG
And voilà! All the images had been resized. Gotta love command line image manipulation. Note: this command does not care about image rotation, so it will only work if all your pictures are portrait or landscape format, or you run different commands in different folders. I bet Jamie can give us a few good tips.