How to Cut Out Complex Hair in Paint.NET

Extracting intricate, fine hair strands from a photo background can be challenging in Paint.NET without advanced tools like Photoshop's Refine Edge. However, you can achieve professional results by using the high-contrast alpha mask technique. This method involves converting your image into a high-contrast black-and-white silhouette to capture semi-transparent flyaways, which is then used as a mask to cleanly separate the hair from its original background.

Step 1: Duplicate and Prepare the Image

  1. Open your image in Paint.NET.
  2. Go to the Layers window and click Duplicate Layer. Name this duplicate layer "Mask" and keep the original layer beneath it as "Original."
  3. Uncheck the visibility of the "Original" layer for now to focus entirely on generating your mask.

Step 2: Create a High-Contrast Silhouette

Hair strands are too thin for standard lasso or magic wand selections, so you must use luminance values to separate the hair from the background.

  1. Select the "Mask" layer and navigate to Adjustments > Black and White (or press Ctrl + Shift + G).
  2. Go to Adjustments > Curves (or Levels).
  3. Switch the curve mode to Luminosity or adjust the RGB channels to maximize the contrast between the hair strands and the background.
  4. Your goal is to make the subject solid white (opaque) and the background solid black (transparent), or vice-versa depending on the masking tool you use. For a standard cutout, aim for pure white hair/body against a pure black background.

Step 3: Clean Up the Interior and Exterior

Curves and levels will capture the fine strands, but they may leave noisy artifacts across the rest of the image.

  1. Select the Paintbrush tool.
  2. Set the primary color to solid white and paint over the interior body, face, and thick parts of the hair so no background can show through the subject.
  3. Switch to solid black and paint over any remaining elements in the background to ensure it is completely dark.
  4. Leave the delicate perimeter—where individual strands overlap the background—untouched.

Step 4: Apply the Alpha Mask

To apply this black-and-white cutout to your original image, use the popular and free Alpha Mask plugin (from the BoltBait or Illunar packs).

  1. Select all (Ctrl + A) on your "Mask" layer and copy it (Ctrl + C).
  2. Hide or delete the "Mask" layer, and make the "Original" layer visible and active.
  3. Open the plugin via Effects > Alpha Mask.
  4. Check the box to use the clipboard as the mask source. If the hair disappears instead of the background, check the Invert Mask option.
  5. Click OK. The background will vanish, leaving the individual hair strands intact without losing their fine, translucent edges.

Step 5: Defringe and Clean Up Halos

Often, fine strands will retain color fringing from the old background. To fix this:

  1. Duplicate the cutout layer.
  2. On the bottom cutout layer, apply a slight Gaussian Blur (1–2 pixels) to fill in gaps.
  3. Use the Color Tint or Curves adjustment on the edges to darken or match the fringe color to the subject's natural hair color.
  4. Merge the layers down to finish the cutout.