Hi,
GIMP is not IMO the ‘tool’ you need. There are several that are which I can think of off the top of my head: imagemagick and G’MIC, both of which have command line versions.
Using Linux terminal/MacOS terminal/Windows Powershell you can create a small script to run these programs for each of the steps you outline. Then you can run that script in a loop that acts on each file.
For example, on Linux …
for i in *.jpg ; do <script> "{i}" ; done
The must accept an argument that is the filename ( “${i}” in the for loop ).
Both MacOS and Windows Powershell have similar capability.
Or you can simply run each step of your process in successive loops, where, using G’MIC as an example …
do
becomes
do gmic [gmic params] “${i}”
where [gmic params] are
Using gmic to do this seems daunting, but you can determine the [gmic params] by using G’MIC from within GIMP. There is a G’MIC setting that will use the G’MIC procedure and its params to name the output layer from G’MIC use. Simply write the layer name down and you’ll have the G’MIC procedures & params you can use with the command line version of G’MIC.
Also, G’MIC uses blend modes for two images, so you’d first open image01, run highpass filter, save with new name image01HP, open image01 and blend with image01HP, save blended image, image01HPBlended, then delete image01HP. Yes, l there is a fair bit of I/O doing things this way, but the linear simplicity IMO more than offsets any time penalty to run the changes.
If it’s not already installed, you can download the CLI version of G’MIC from the GreyC web site.
There is scripting capability within GIMP but it’s based on a scripting technology called Scheme I find incomprehensible with all its bazillion parentheses. And you’d have to learn GIMP’s object model to identify files, layers, etc. IMO it’s much easier to use a terminal and a command line tool to do this kind of “actions on many files” work.
Regards.