How to Mask Flyaway Hair Using GIMP

Get your images., Be advised that your image and its current background may not lend itself to your masking. , Be sure that the new background will complement your image. , Open up your image in GIMP. , Click on duplicate layer and duplicate the...

19 Steps 3 min read Advanced

Step-by-Step Guide

  1. Step 1: Get your images.

    You may wonder why would would need more than the image you are trying to fix, but chances are, you will want to replace the background. ,,,, It's a good idea to rename it so that you know the difference. ,, Do this by sliding the Red, Green, Blue bars. , Continue doing this until the image starts to have more contrast.

    There is no 'secret answer' to it., These parts would be where there is no background showing and none of the flyaway hairs.

    Do this by:
    Selecting the paintbrush tool (using a fairly large tool to start with) Be sure that your foreground color is white Start painting the main part of the image that you want masked out and progressively using a smaller brush, continue until it is almost done. , Do this by clicking on Colors >> Levels.

    The first one, the gradient from black to white, represents the gray tones in the image.

    Try moving the left control triangle to the center.

    This will lessen the amount of black and turn it to dark gray.

    The right triangle works the opposite way.

    The middle triangle allows you to fine tune the coloring.

    Hopefully, the hair strands will become lighter as the background becomes darker. , You will need to copy the details of the grayscale image you have been working with to the mask.

    Select All (CTRL A) Copy (CTRL C) Activate the background layer Right click in the layers dialog and "Add Layer Mask" (white). , This is the white area next to the background layer.

    You will want to be sure you are on the correct layer. ,, Click on the "Anchor" button.

    This icon is second from the left on the Layer toolbar in Gimp
    2.6., This would be where you got the mask from.

    Its location is noted by a red circle in the screen shot.

    It has already been clicked.

    You can tell this by looking at the image. , You might have one in mind or just experiment with something.

    You will see that your image has completely disappeared.

    Don't be concerned.

    It is just hidden.
  2. Step 2: Be advised that your image and its current background may not lend itself to your masking.

    If you can't, you probably need to anchor your floating selection.

    Process is being made but you can see some of the original background in the image.

    This indicates that some of the color adjustments weren't quite right from before. ,, What you want to do is get the hair strands even darker.

    The aim is to get the hair strands even darker (i.e. more transparent).

    So I move the left control to the center.

    You can see the results in the preview immediately.
  3. Step 3: Be sure that the new background will complement your image.

  4. Step 4: Open up your image in GIMP.

  5. Step 5: Click on duplicate layer and duplicate the background.

  6. Step 6: Click on 'Monochrome' and all of the color will be removed.

  7. Step 7: Start creating the contrast that will help you separate the hair from the background.

  8. Step 8: Desaturate.

  9. Step 9: Paint the parts of the image that don't need masking.

  10. Step 10: Adjust the gray tones.

  11. Step 11: Create a layer mask.

  12. Step 12: Click on the blank mask that you added.

  13. Step 13: Click on Edit >> Paste (or Ctrl+V)

  14. Step 14: Un-float the new pasted layer.

  15. Step 15: Click on the eye symbol next to the grayscale image.

  16. Step 16: Insert a new background into the image.

  17. Step 17: Move your new background to the bottom.

  18. Step 18: Select the layer Mask and then Color >> Levels.

  19. Step 19: Start adjusting.

Detailed Guide

You may wonder why would would need more than the image you are trying to fix, but chances are, you will want to replace the background. ,,,, It's a good idea to rename it so that you know the difference. ,, Do this by sliding the Red, Green, Blue bars. , Continue doing this until the image starts to have more contrast.

There is no 'secret answer' to it., These parts would be where there is no background showing and none of the flyaway hairs.

Do this by:
Selecting the paintbrush tool (using a fairly large tool to start with) Be sure that your foreground color is white Start painting the main part of the image that you want masked out and progressively using a smaller brush, continue until it is almost done. , Do this by clicking on Colors >> Levels.

The first one, the gradient from black to white, represents the gray tones in the image.

Try moving the left control triangle to the center.

This will lessen the amount of black and turn it to dark gray.

The right triangle works the opposite way.

The middle triangle allows you to fine tune the coloring.

Hopefully, the hair strands will become lighter as the background becomes darker. , You will need to copy the details of the grayscale image you have been working with to the mask.

Select All (CTRL A) Copy (CTRL C) Activate the background layer Right click in the layers dialog and "Add Layer Mask" (white). , This is the white area next to the background layer.

You will want to be sure you are on the correct layer. ,, Click on the "Anchor" button.

This icon is second from the left on the Layer toolbar in Gimp
2.6., This would be where you got the mask from.

Its location is noted by a red circle in the screen shot.

It has already been clicked.

You can tell this by looking at the image. , You might have one in mind or just experiment with something.

You will see that your image has completely disappeared.

Don't be concerned.

It is just hidden.

If you can't, you probably need to anchor your floating selection.

Process is being made but you can see some of the original background in the image.

This indicates that some of the color adjustments weren't quite right from before. ,, What you want to do is get the hair strands even darker.

The aim is to get the hair strands even darker (i.e. more transparent).

So I move the left control to the center.

You can see the results in the preview immediately.

About the Author

J

Jordan Ortiz

With a background in education and learning, Jordan Ortiz brings 3 years of hands-on experience to every article. Jordan believes in making complex topics accessible to everyone.

53 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: