I need to draw outlined shapes, like in this example:

enter image description here

I created the example selecting the coloured areas and using Edit > Stroke selection, but it isn't very handy when there are several shapes. I'm wondering whether there is a way to automatically outline all the painted areas in a layer. I would prefer to have my shapes outlined as I draw them, but outlining them all together would be fine too.


If all your shapes are on a transparent layer you can use Alpha to Selection on the layer, to make one selection of all the shapes, then apply the Stroke Selection all in one go.


enter image description here

To automate this, software such as Photoshop has layer effects which can be applied non-destructively to a layer, so that when you paint on the layer it can apply an outer stroke automatically as you paint. Unfortunately GIMP doesn't have this functionality at the moment, although it might in future. Krita also has layer effects, perhaps you could try that. However, it should be noted that raster image editing software is not the best for this kind of work. Vector image editors such as Inkscape (which is free) or Illustrator (not free) can apply strokes and fills to vector shapes, as you draw them.

Here's a quick example using Inkscape

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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