I need the edge of mask to be fuzzy. The ways i found to do this is either by feather a selection or by stroking a selection with a fuzzy brush. But i need to define the edge transition more specificly. Ideally to create a custom gradient and use it for the edge.

  • Hi. Welcome to GDSE. Your question is a bit confusing - you ask about stroking with a gradient, but the main body text suggests you want the edges of a mask to be fuzzy. Can you perhaps edit your question, and also mention what you have tried or show an image of what you are trying to achieve? If you want a fuzzy layer mask you could just blur it slightly, or feather a selection before filling it. Also note that there's no such thing as a "gradient pattern" - those are two different things in GIMP.
    – Billy Kerr
    Commented Sep 14, 2019 at 7:37
  • @BillyKerr the question is about stroking with a gradient, and the main body simply explains what it is for - to create edge transition. It also explains why feathering a selection is not an option. By gradient pattern i meant a custom gradient, i will clear this part of the question. thanks.
    – Olirect121
    Commented Sep 14, 2019 at 9:35
  • You can make custom gradients with the gradient editor - in combination with xenoid's answer, this should enable you to do what you want, as far as I can tell without seeing an image or example.
    – Billy Kerr
    Commented Sep 14, 2019 at 13:06

1 Answer 1


See the ofn-gradient-along-path script, in combination with a selection from the path to keep only the inner/outer half.

You can also use a plain gradient, and use Levels/Curves to alter it (if it's a selection do this with the "QuickMask".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.