06-25-2024, 08:03 AM
I tried to run the waves filter from within a scheme script (for being able to do batch processing). My best guess yet was
Unfortunately this produces different results from when I use the waves filter interactivly (see images below). Also the parameter ranges differ and some parameters are missing completely. Looks like this is some other filter which is also called waves.
Diving into the config files I think interactivly I'm using GimpGegl-gegl-waves, but there is no documentation on that in the procedure browser nor do I know how to call this in scheme.
So my questions:
a) How can I call Filters->Distorts-Waves from within a scheme script?
b) Maybe more important: How could I have found out that myself?
---
Original image:
Using waves interactivly:
Using script:
Im using GIMP 2.10 (from Debian stable).
Code:
(plug-in-waves RUN-NONINTERACTIVE image drawable amplitude phase wavelength 0 FALSE)
Unfortunately this produces different results from when I use the waves filter interactivly (see images below). Also the parameter ranges differ and some parameters are missing completely. Looks like this is some other filter which is also called waves.
Diving into the config files I think interactivly I'm using GimpGegl-gegl-waves, but there is no documentation on that in the procedure browser nor do I know how to call this in scheme.
So my questions:
a) How can I call Filters->Distorts-Waves from within a scheme script?
b) Maybe more important: How could I have found out that myself?
---
Original image:
Using waves interactivly:
Using script:
Im using GIMP 2.10 (from Debian stable).