How to name a layer output to GIMP

Indeed, it’s easy, but not well documented at this time.
Using command -name in a G’MIC script allows to set the corresponding GIMP layer name, but also the blending mode, opacity and position, if necessary.
Something like this :

-name[0] "name(My Cool Layer),pos(0,0),mode(multiply),opacity(50)"

You can of course discard the properties you don’t want to set, so

-name[0] "name(My Cool Layer)"

is also fine.

1 Like