How to Remove Purple Fringing in GIMP

Purple fringing, a type of chromatic aberration, frequently appears as magenta or violet halos along high-contrast edges like dark tree branches set against a bright sky. In GIMP, this optical artifact can be removed effectively without compromising the overall quality of your image. This guide covers the most reliable methods to eliminate purple fringing using automated filters, targeted color desaturation, and layer blending techniques.


This method provides the most control, removing the magenta color cast while ensuring natural-looking branch edges.

  1. Duplicate the Layer: Right-click your main image layer in the Layers dialog and select Duplicate Layer.
  2. Open Hue-Chroma: With the duplicated layer selected, go to Colors > Hue-Chroma.
  3. Target Magenta Tones:
    • Select the Magenta (M) or Blue (B) color radio button depending on the exact tint of the fringe.
    • Reduce the Chroma slider toward the left to desaturate the fringe.
    • Slightly adjust the Lightness slider down to match the dark value of the tree branches.
    • Click OK.
  4. Apply a Layer Mask:
    • Right-click the duplicate layer and choose Add Layer Mask.
    • Select Black (full transparency) and click Add.
  5. Paint Away the Fringing:
    • Select the Paintbrush Tool (P).
    • Set your foreground color to White.
    • Paint directly over the fringed tree branches. The desaturated layer will only show through where you paint, leaving the rest of the image unaffected.

Method 2: Paint with Color Blend Mode

If you only have a few isolated branches showing purple halos, painting over them with a blend mode is fast and non-destructive.

  1. Create a New Layer: Click the New Layer icon at the bottom of the Layers dialog, set it to Transparency, and click OK.
  2. Change Layer Mode: In the Layers panel dropdown, change the mode of this new layer from Normal to Color (or Darken).
  3. Sample Surrounding Color: Select the Color Picker Tool (O) and sample the natural color of the branch or the sky adjacent to the fringed edge.
  4. Paint Over the Fringe: Use a soft-edged Paintbrush (P) to paint over the purple halos. The color mode will replace the purple tint with your sampled color while preserving the texture and brightness underneath.

Method 3: Using the Lens Distortion Filter

For wide-angle shots with fringing that increases toward the outer corners of the frame, the automated lens tool can correct alignment issues.

  1. Go to Filters > Distorts > Lens Distortion.
  2. Locate the Shift X and Shift Y controls under the chromatic aberration settings (or adjust the individual color channel offsets).
  3. Zoom in closely on the affected branches and adjust the sliders until the purple and cyan channel splits align back onto the branch edges.
  4. Click OK to apply the fix across the entire image.