First time here? Check out the FAQ!
Something to the effect of GIMP "magic wand" tool Is there an existing method to, given a certain point and tolerance/th