Scaling shapes/pathes/etc. will only work if the shape is regular and centered.
If your selection is not soft, there is a work around also stroking paths that I use that I find a bit simpler than ofnuts' suggestion above...
1) Save the selection to a path.
2) Toggle quickmask mode (Shift Q) Ref:
http://docs.gimp.org/en/gimp-image-wind ... utton.html3) With your foreground white, stroke the path. Set the Line Width to 2x the size you want to grow the selection, Solid colour, cap style: butt, join style: miter, slide miter limit to the max, and check anti-aliasing.
4) Toggle quickmask off.
Your selection will now be "grown".
You can also stroke with black, rather than white to "shrink" the selection by the same fashion.
Here is an example. The yellow was the initial selection, the black is after growing it in this manner, and the grey is after shrinking it in this manner:
Attachment:
qm.jpg [ 16.92 KiB | Viewed 5607 times ]
A couple of the corners get bollixed up, especially if they are real sharp. Using the advanced selection to path might let you get a cleaner path that would end up working better.
Unfortunately, I know of no way to script this, as it appears that the stroke path using a line is not exposed in the pdb.
-Rob A>