Gimp-Forum.net
GEGL graph - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+---- Forum: Scripting questions (https://www.gimp-forum.net/Forum-Scripting-questions)
+---- Thread: GEGL graph (/Thread-GEGL-graph)



GEGL graph - Kevin - 09-17-2020

As my question to the developers mailing list got ignored: https://mail.gnome.org/archives/gimp-developer-list/2020-September/msg00004.html I'll try asking our Resident GEGL expert, tmanni

When trying to use the gegl:bump-map command, I do not know how to specify the "aux" layer to use. Is this
possible? if so what do I need to do?

When trying to use the gegl:contrast-curves command I don't know how to format the curve parameter as
anything I try is crashing GIMP (issue #5607)


RE: GEGL graph - tmanni - 09-17-2020

Gegl graph filter can only use the active layer you're working on.
One trick is to export your bump-map layer into a file and use the gegl:load into the graph:

Code:
bump-map aux=[ load path="/path/to/your/bumpmapfile" ]

According to the code, there is nothing to handle a curve parameter, neither by the gegl graph filter nor the gegl binary.
There is only a support for graphs described as XML.