saulgoode wrote:
'gimp-image-get-layer-position' retrieves the position of the layer within its layer group (if it's in a layergroup).
Shouldn't that be 'gimp-image-get-item-position' ?
According to the PDB, 'gimp-image-get-layer-position' is a depreciated procedure, which doesn't support layer groups.
Thanks for pointing out the issues with Layer Groups. They are handled properly now.
Graechan wrote:
Saulgoode thank you for pointing out the fact that it's impossible to script effectively for 2.8 and 2.6 so I think that I'll have to leave 2.6 out for now.
Well, in this script, there are only 3 lines of code that need to be changed for GIMP 2.6.x support (see comments). I tried to keep 2.6 in mind while coding and only used procedures that were compatible with both GIMP versions. Only "layer group" specific commands are the ones that need changing. I will release two versions of the script, so as not to leave out GIMP 2.6.x users who might want to take advantage of this script.
Thanks for pointing out the issue with adding inner glow to the border of a non-resized image. I'll ensure that is handled in the next release.
Also, thanks for the contributions on layer naming. I ended up using a little different layer naming scheme in the script because of the layer positioning/merge methods I'm using.