(12-03-2021, 04:17 PM)aka Wrote: Hi,
Can someone please help me for my first gimp script ?
I have a gimp file with these layers : a, b1, b2, c, d1, d2 and e.
I would like to do a script which exports several images from this gimp file. I need this script does a selection of the layers for each export, I wish in fact this :
image1.png : only with layers a, b1, c, d1 and e. (layers b2 and d2 are hidden)
image2.png : only with layers a, b1, c, d2 and e. (layers b2 and d1 are hidden)
image3.png : only with layers a, b2, c, d1 and e. (layers b1 and d2 are hidden)
image4.png : only with layers a, b2, c, d2 and e. (layers b1 and d1 are hidden)
So can someone explain me :
1. How to do loops,
2. How to switch on/off layers,
3. How to export ?
ThanksÂ
Have you got specific names on the layers or are the mutually exclusive layers in a group?
Also, what is the export format and do you need specific format-related settings (JPEG quality...)?