Go and have a look through Kevins post as Ofnuts link, there are other posts on the GimpChat forum.
To get you started. The GEGL syntax for emboss is here: https://gegl.org/operations/gegl-emboss.html
You can check for a valid command using Generic -> GEGL graph
...but to include that into a python script you need a utility plugin such as the attached gegl_command.py . Your script will call that plugin. Also in the attached zip is an example for_gegl.py
Unzip, and put both in your plugins folder. The example registers in the tools menu as run_gegl I have tried in Win10 / Gimp 2.10.38 - it does work.
To get you started. The GEGL syntax for emboss is here: https://gegl.org/operations/gegl-emboss.html
You can check for a valid command using Generic -> GEGL graph
...but to include that into a python script you need a utility plugin such as the attached gegl_command.py . Your script will call that plugin. Also in the attached zip is an example for_gegl.py
Unzip, and put both in your plugins folder. The example registers in the tools menu as run_gegl I have tried in Win10 / Gimp 2.10.38 - it does work.