On Wed, 16 Mar 2022 at 09:33, steve-ALUG@hst.me.uk wrote:
Backup the files, so you edit but still have the original to hand.
Use Gimp. Open all the files. Use crop to selection. Save to the original file (i.e. Export, rather than Export as). Quit gimp.
Decent hack, should have thought of that myself!
(I went down a rabbit hole looking at script-fu and python-fu which led me nowhere!)
Then use image processing tool/tools to get the right size. I tend to use mogrify (part of ImageMagick) when I need to do a batch resize of images.
Yes, mogrify is great, I use the Imagemagick tools a lot, which is why I got stuck when I couldn't just automate the whole thing!
That said the
Experiment, but backup your cropped files again first.
Good advice. Also a useful strategy is put the originals into a tarball when you can't accidentally overwrite them!