Gimp-Forum.net

Full Version: How to keep the black outline only in a image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The attached image is the output of the Edge filter on a colour image. Wondering how I can get rid of the colour and keep the black edges only. Thanks.
You can Colour -> Threshold (and adjust the slider a little)

[attachment=8683]

another way is: Image -> Mode -> Indexed and use the black & white (1 bit) palette option
Works great!

Thanks.
@Meetdilip, its not the question you asked for but you can finetune the result if needed :
- remove colors : Colours / Desaturate / Mono Mixer (use all sliders to get a satisfied result)
- smooth the drawwing with : G'Mic-Qt / Repair / Smooth [Mean-Curvature] (Time Step 30 / Iterations 13)
- duplicate the layer 5 times with layer mode 'Multiply'
- make a new layer 'New from Visible' (layer name 'Visible')
- G'Mic-Qt / Repair / Smooth [Mean-Curvature] (Time Step 30 / Iterations 13)
- duplicate the result to a new layer (layer name 'Visible copy') and set the layer mode 'Addition'
- Merge the layers 'Visible' and 'Visible copy'
- result :
[attachment=8688]
Nice result but a bit complicated.

For this type of image, an old method of smoothing.

Apply a small gaussian blur
Apply the Color -> Threshold (again)

example: https://i.imgur.com/wn1zu6a.mp4
Less complicated with G'Mic-Qt / Artistic / Lineart :
[attachment=8690]
[attachment=8691]
Thanks @denzjos Smile