Quote Originally Posted by RobA View Post
Attached is a fixed version.

Note I discovered it has a small bug in the perimeter calculation IF the selection touches the image edges, those edges are not included in the perimeter calculation.

No time to fix that bug now, sorry. The workaround see to enlarge the canvas/layer, or just don't select to the edges

-Rob A>
Thanks heaps, this is super helpful!