09-25-2022, 11:57 AM
If Gimp is already started when you call it from a shell, then the arguments are passed to the already loaded instance. But of course each "gimp" command in your script will run bow nearly instantaneously because it returns before the work is done, so if each needs the result of the previous one that won't do it. But the first thing to do to improve performance is to string your commands into a single script, and so call gimp only once.
You can also use ‑‑new‑instance to have separate instances of Gimp and make them run in parallel (I don't know how to do that in Windows) so if you process several files you can use all your processors (Gimp is still essentially single-thread).
There are also a couple of options to the Gimp command (‑‑no‑data, ‑‑no‑fonts) to tell Gimp to not load fonts, patterns, etc... that can speedup the startup.
You can also use ‑‑new‑instance to have separate instances of Gimp and make them run in parallel (I don't know how to do that in Windows) so if you process several files you can use all your processors (Gimp is still essentially single-thread).
There are also a couple of options to the Gimp command (‑‑no‑data, ‑‑no‑fonts) to tell Gimp to not load fonts, patterns, etc... that can speedup the startup.