A folder full of jpeg images of different sizes that I needed to resize to 300x300. Not wanting to open each image in Gimp - Tools - Transform Tools - Scale I was looking for a more automated solution. Gimp’s Python-Fu, Google and Stackoverflow with kind souls sharing their expertise to the resuce:
- In Gimp go to Filters - Python-Fu - Console
- Hit Browse to find available Python methods - searched for scale and found gimp_image_scale, which seemed to do what I wanted.
With some more Googling I devised the following, which solves my problem. Pop into console and hit enter. See main sources below for proper credit.