GIMP Version: 2.10.18 Operating System: Linux OS Version: Ubuntu MATE GIMP Experience: Intermediate Level
Hello all you lovely people,
I am looking for a way in GIMP (either with script-fu or python-fu) to batch create defined layers and layer groups in each of my image files in order to get rid of a bad habit of not using many layers. I am going through an exhausting process of "re-layering" my figure drawings in GIMP, and I was hoping to find a way to save some time.
I also would really like them to be "Default" layers, and not "Legacy", since I am using GIMP 2.10.18.
For example, let's say I want to make a tree of layers like this:
Layer "Sketch #1", linked, normal, opacity 65.0 Layer "Sketch #2", linked, normal, opacity 40.0 Layer "Sketch #3", linked, normal, opacity 25.0 Layer Group "Group #1", normal, opacity 65.0 +-- Layer "Group #1 Head", linked, normal, opacity 100 +-- Layer "Group #1 Ears", linked, normal, opacity 100 +-- Layer "Group #1 Eyes", linked, normal, opacity 100 +-- Layer "Group #1 Face", linked, normal, opacity 100 +-- Layer "Group #1 Arm Front", linked, normal, opacity 100 +-- Layer "Group #1 Arm Back", linked, normal, opacity 100 +-- Layer "Group #1 Hand Front", linked, normal, opacity 100 +-- Layer "Group #1 Hand Back", linked, normal, opacity 100 +-- Layer "Group #1 Body", linked, normal, opacity 100 +-- Layer "Group #1 Leg Front", linked, normal, opacity 100 +-- Layer "Group #1 Leg Back", linked, normal, opacity 100 +-- Layer "Group #1 Foot Front", linked, normal, opacity 100 +-- Layer "Group #1 Foot Back", linked, normal, opacity 100 Layer Group "Group #2", normal, opacity 100 +-- Layer "Group #2 Head", linked, normal, opacity 100 +-- Layer "Group #2 Ears", linked, normal, opacity 100 +-- Layer "Group #2 Eyes", linked, normal, opacity 100 +-- Layer "Group #2 Face", linked, normal, opacity 100 +-- Layer "Group #2 Arm Front", linked, normal, opacity 100 +-- Layer "Group #2 Arm Back", linked, normal, opacity 100 +-- Layer "Group #2 Hand Front", linked, normal, opacity 100 +-- Layer "Group #2 Hand Back", linked, normal, opacity 100 +-- Layer "Group #2 Body", linked, normal, opacity 100 +-- Layer "Group #2 Leg Front", linked, normal, opacity 100 +-- Layer "Group #2 Leg Back", linked, normal, opacity 100 +-- Layer "Group #2 Foot Front", linked, normal, opacity 100 +-- Layer "Group #2 Foot Back", linked, normal, opacity 100 Layer "Scenery FG", linked, normal, opacity 100 Layer "Scenery BG", linked, normal, opacity 100 Layer "Background", normal, opacity 100
So yeah, I need to do something like this in every unfinished drawing I have.
I want them to be able to be named, linked, and have their opacity set. Optionally, creating layer masks would be nice, but it is not a requirement. I usually create those if I need them on the fly.
Thank you so much for any help you can give!
|