GIMP Script-fu

Artifact Content

Artifact 10c71dcef04a259314bf7ce31eaf92f8a52db879:

Wiki page [sg-group-linked-layers] by saulgoode 2015-03-28 12:33:53.
D 2015-03-28T12:33:53.523
L sg-group-linked-layers
P af05da64f437935b30bc2f87f0a5e842a89aa453
U saulgoode
W 1087
<dt><b>Command:</b> <dd>Group Linked Layers</dd></dt>
<dt><b>Menu:</b> <dd>"<Image>/Layer/Stack/Group Linked Layers"</dd>
<dd>"<Layers>/Group Linked Layer(s)"</dd></dt>
<dt><b>PDB Name:</b> <dd>script-fu-sg-group-linked-layers</dd></dt>
<dt><b>Download:</b> <dd>[|sg-group-linked-layers.scm] (after the page appears, click on the "Download" command)</dd></dt>
<dt><b>License:</b> <dd>[copyright|GPLv2+]</dd></dt>

<dt><b>Description:</b> <dd>
This script adds a command to move all linked layers into a newly created group. If any of the linked layers are group fundaments, then all of the layers (and subgroups) in that group are moved into the new group.

The new group is placed directly above the active layer in the layer stack -- unless the active layer is contained within one of the groups that is linked (i.e., you are trying to moving a group into itself), in which case the command fails.

Note: this script also provides the [sg-ungroup-layer|Ungroup Layer] command.

Z 2684a4a0b21177d62b1540f2608005ae