01-29-2022, 11:54 PM
(12-28-2021, 06:59 AM)Undertaker666 Wrote: Hello,
I've been trying to get a script to save me some hassle, and I got 2 thirds of my things I can automate to kinda figured out with pythonfu.
The last feature is the shadows-highlights with a saved preset, which is a GEGL function.
Is there anyway to invoke it in the pythonfu script?
Thanks
First, you need to download and install this gegl plugin: gegl_command zip from here (post #31): http://gimpchat.com/viewtopic.php?f=9&t=...30#p264354 and use the code line in you python script.
Code:
pdb.python_gegl(image, layer,
"shadows=parameter highlights=parameter whitepoint=parameter radius=parameter compress=parameter shadows-ccorrect=parameter highlights-ccorrect=parameter")