Over on the GimpChat forums there was a bit of discussion on the WireWorm plugin[?] for photoshop. At the time, I put together a script that would leverage the resynthesizer plugin available for Gimp, and created the "Resynthesize along Path" script.
Juse made a small change to my script Sample Gradient Along a Path. There was a small bug that would cause the scipt to error when the path being sampled extended beyong the image boundary. Now it clamps the path location to the edges in such a case.
The updated version is available in the download section under Gimp.