This is about a specific effect, but I’m curious about doing this for G’MIC procedures in general, I’m assuming that writing a script is the way to go after a couple of hours of unsuccessfully trying to get it to work through the script-fu console as an inexperienced scripter.
With one click, I’d like to take an image-> apply an effect → export as a new image → incrementally change one setting of that effect → export that as a new image → incrementally change that one setting further → export that as a new image… etc, etc. The intention is to automate frame renders for fluid animations.
The issue I seem to be running into is the Popcorn Fractal Effect that I’d like to do this with, available in the G’MIC-qt plug-in for GIMP. This effect is apparently not available through the G’MIC CLI, or else this’d be fairly easy to set-up, as I could just make a Txt file with the different variations, but we seem to be stuck in the QT plug-in for this.
The best hint in the right direction I found online ended up with this string of code
(plug-in-gmic-qt 1 img Background.png 0 0 “-v - -fx_rep_pfrac 50,1,0.05,3,1,0,50,50,0,1,0,1,2,0,1,2,0,1,2,0,1,0,0”)
I can’t seem to get script-fu to read even this example + run it, I’m not sure if it needs to be registered or if you can run singular commands like this.
Any help would be appreciated.