The purpose of this script is to generate multiple copies of a drawable into the image where the drawable is. It is helpful especially whenever you have to get several duplicates of a drawable, because like this you can avoid repeating the 'Duplicate Layer' or 'Duplicate Channel' commands of the GUI so many times. Moreover, this script allows to displace the duplicates of a layer along both horizontal and vertical directions through the offset parameters, so that you can easily achieve a sequence of equidistant layers, which should be otherwise obtained step by step.
If the drawable is a layer-mask, the script will operate on the layer to which such mask belongs; if the drawable is a channel, the offset parameters will be ignored.
Besides creating new drawables, this script also returns a vector whose first element is the identifier of the starting drawable, whereas the identifiers of the duplicates occupy the other elements. Hence, when the script is called as procedure inside another script, such vector helps to trace every duplicate.
Once installed, you can launch this script from the image menubar through ' Edit -> Drawable Multiplication... '.
Weiterlesen...