GIMP Clarity: easy, flexible, and always adjustable.

Clarity in GIMP 3.2: a simple, flexible layer effect plugin
Key points
- The GIMP Clarity filter is simple yet sophisticated, always editable
- Increases midtone contrast to add definition and structure to your images
- Eliminates clipping at extremes (unlike Affinity, etc)
- Part of the Presence plugin, which also includes Texture, Dehaze, and Punch (whites and blacks)
- Requires GIMP 3.2 or later, on Linux or Windows (macOS currently not supported)
Clarity for GIMP 3.2
The GIMP Clarity filter focuses on midtone contrast to add definition and structure to your image. It attaches to a layer as a non-destructive filter, so you can adjust it, turn it off, or remove it entirely at any point.
Here’s a short demo:
Traditionally, achieving a clarity effect meant a bunch of manual, fiddly, destructive steps. A non-destructive approach wasn’t possible until GIMP 3 was released. The Presence plugin’s Clarity filter eliminates that manual work, with more flexibility than Lightroom, Affinity, Capture One, and other mainstream photo editing apps. Plus, it prevents clipping at the extremes, unlike some of those others.
The Clarity filter is built on the gegl-presence project by sandbranch. I built the GIMP interface around it and added enhancements to sandbranch’s underlying image processing.
What exactly is Clarity?
Clarity in photo editing is a creative, editorial effect that increases or decreases local contrast in the midtones. By focusing on midtones, it makes the detail in your image look more defined and structured, without over-sharpening or affecting the entire tonal range.
What’s the difference between Clarity and Contrast?
A contrast adjustment (Brightness-Contrast, Curves) stretches the whole tonal range, so shadows get darker and highlights brighter. Clarity adds local contrast within the midtones and leaves the ends of the range mostly alone.
Is Clarity the same as sharpening?
No. Sharpening raises contrast along edges. Clarity works on mid-sized detail. Sharpening and Clarity complement each other. Many photos benefit from both.
When to use Clarity
- Bring out character in a portrait: wrinkles, weathered skin, stubble, the texture of a face with a story to tell.
- Add structure to landscapes: rock faces, tree bark, cloud formations, rippled sand or water.
- Give depth to a flat, low-contrast photo shot on an overcast day or in soft light.
- At higher amounts, add grit to architecture and urban scenes.
- Strengthen tonal separation in a black-and-white conversion, where midtone contrast does much of the work that colour did.
- Soften, with a negative Amount: smooth skin in a flattering portrait, or add a gentle glow.
When to use sharpening
- Remedy softness caused by the camera’s sensor, lens, or raw conversion.
- Make all details crisp, not just midtone details.
- Prepare an image for output. Sharpen last, after resizing, at the size the image will be viewed on screen or in print.
How to use both
- Apply Clarity first to shape the image’s structure.
- Sharpen as the final step for the output size.
What to avoid
- Clarity on a flattering portrait or on a baby’s skin. Positive Clarity emphasises every line and pore.
- Sharpening on noisy areas such as skies or shadows. Sharpening amplifies noise along with detail.
- Expecting either to fix an out-of-focus photo. Neither can create detail the camera didn’t capture.
How to use the Clarity filter, step by step

Before you begin: make sure you have GIMP 3.2 or later and the Presence plugin installed. Installation instructions are at the end of this post.
- In an open image, select the layer you want to apply Clarity to.
- Go to Filters > Presence > Clarity. The Clarity dialog opens.
- Adjust the controls to taste and click OK. The filter attaches to your layer.
- To adjust the effect later, click the fx icon on the layer in the Layers panel. The Clarity dialog reopens with your previous settings intact. (GIMP 3’s layer effect system stores the filter and its settings as a component of the layer, not as a pixel change.)
How to apply Clarity to a selection: built-in masking
To apply Clarity to only part of the image, make a selection before you open the Clarity dialog, so it affects only the selected area. And if you edit the layer effect, any adjustments affect only the area that you originally selected. You don’t need to select it again: the layer effect remembers the selection: the layer effect stores the selection as if it were a mask specific to that filter.
The Clarity filter controls

Amount
How strong the effect is, from −100 to +100. Positive values add midtone contrast; negative values reduce midtone contrast to soften the image.
Midtone range
How wide a band of tones is affected. Higher values pull in more of the shadows and highlights ranges; lower values keep the effect tightly focused on the midtones.
Saturation
Adds or reduces colour saturation alongside the contrast adjustment.
Blending Options
Mode: the blending mode to apply to the Clarity filter. You have all the standard GIMP layer blending modes to choose from.
Opacity: increases or decreases the filter’s effect on the layer.
Preview
Toggle the preview of the filter’s effect on and off.
Merge filter
Apply the filter destructively. Not recommended because it can’t be edited or reversed later.
Split view
Before-and-after view, split down the middle.
Some tips:
- Start with Amount at a medium setting, then dial it up or down as needed.
- Changing Midtone range may require adjusting Amount.
- Saturation at zero leaves colour unchanged. A small positive value can complement the contrast boost; a small negative value will avoid making the image look oversaturated after a heavy Amount adjustment. Of course, you can use the Saturation slider for any creative effect you want.
- Built-in help gives you more information about the filter and how to use it.
The traditional manual process to get a Clarity-ish effect in GIMP
In the past, getting a Clarity-like effect in GIMP meant using a manual workaround. Surprisingly, the only guidance I could find when searching for “clarity filter in gimp” was from a 2014 article by Pat David, “Clarity in GIMP (Local Contrast + Mid Tones)”.
Pat David’s solution involves:
- creating luminosity masks to select midtones,
- duplicating the layer,
- running Unsharp Mask on the copy at a very large radius (he uses 80) with a deliberately strong amount,
- adding a layer mask initialised from a midtones mask that you create yourself,
- dialling the strength back with the amount or layer opacity.
That sharpens details, but it’s:
- Manual: five steps, repeated for every image, and creating a midtones-focused luminosity mask is usually tricky.
- Destructive: the result is baked into pixels, so changing anything means starting over.
- Inexact: you start from an intentionally extreme setting and back off by eye, and the midtone band is whatever your midtones-focused luminosity mask covers.
- Convoluted: it involves several moving parts: a duplicate layer, a sharpening tool, and one or more luminosity masks.
Pat David also suggests G’MIC’s local-contrast filters as an alternative to Unsharp Mask, because Unsharp Mask can shift colour. However, all of those G’MIC filters affect the entire image and still require luminosity masking to try to focus the effect on midtones only.
Kudos to Pat David, by the way. He came up with an ingenious workaround for a missing feature back when GIMP was more rudimentary. 12 years ago, GIMP didn’t have the tools that are available now, which allow us to automate and improve photo editing tasks.
Better quality results than Lightroom or Affinity?
The Presence Clarity filter is by design gentler than the clarity tools in other photo editors. That approach avoids unwanted artefacts: bright or dark halos around strong edges, a gritty, over-processed look, blocked-up shadows and blown highlights. It largely leaves high-contrast edges alone, concentrates on mid-sized detail rather than pixel-level grain, favours midtones over deep shadows and bright highlights, and limits how much contrast it can add, even at full strength. As a result, it prevents halos and clipped highlights, and doesn’t meaningfully crush extreme shadow detail, even when stacked on top of itself. You can achieve a crunchier look if you like. Just duplicate the Clarity filter in the layer’s filter stack as many times as you want. Each copy builds on the one below it, so you add and adjust exactly how much local contrast the image needs.
Avoiding clipping is important. It ensures better quality across the entire effect because the calculations and algorithm are evidently more careful about what to enhance, and how. Here’s a comparison of Affinity and the GIMP Clarity filter on the same image:

(click to enlarge)

(click to enlarge)
By the way, colours in these screenshots look different because when you open a JPEG in GIMP, it asks you what to do with the colour profile embedded in the file. You can choose to keep it or switch to GIMP’s native colour profile. In the GIMP example above, I chose to keep the source JPEG’s embedded profile. Affinity doesn’t give you that option; instead it converts the image into its own internal colour space silently. Both apps end up displaying the same photo, but through different colour pipelines, so the colours — particularly saturation and warmth — can look noticeably different before you’ve made any edits. It’s not a bug in either app; it’s two applications making different choices about colour management behind the scenes.
Does Clarity affect colours?
Clarity adjusts brightness, not colour. It keeps each pixel’s hue, so reds stay red and blues stay blue. But adding contrast can make colours look more intense, especially at high Amount settings. The Saturation slider lets you offset that (use a small negative value) or add to it (use a small positive value). The Saturation adjustment applies to the whole image, not just the midtones, and it works independently of Amount.
Strong Clarity adjustments can also push some colours beyond what the image can hold. Output range controls what happens then: Keep hue (the default) pulls those colours back in without changing their hue; Clip each channel cuts them off, which can shift hue in strongly saturated areas; Don’t limit leaves them as they are, which only suits floating-point (HDR) images. At moderate settings you’ll rarely see a difference between them.
More control than Lightroom’s and Affinity’s Clarity sliders
The Clarity slider in Lightroom and Affinity is a single knob. You drag it left or right and accept the result.
Lightroom controls the essential parameters of the effect: the radius, which tones to target, how to handle colour. Most other photo editors, including Affinity Photo and Capture One, have adopted a similar single-slider model.
That’s convenient: you don’t have to think about any of it. But you forfeit creative control to the software engineers who defined those parameters to produce a result that is, by design, mediocre: adequate for most images, most of the time. When the result isn’t quite right, you have no way to correct it. You can only move the slider and hope the algorithm gives you what you want.
The GIMP Clarity filter is more than a single slider, and its simple layout is easy to use.
Amount works like Lightroom’s and Affinity’s sliders. But Midtone range lets you tighten the effect so it stays strictly in the midtones, or widen it to pull in more of the shadows and highlights. If the default Clarity settings brighten your clouds or muddy your shadows too much, Midtone range allows you to fix that. On the other hand, Lightroom and Affinity apply clarity to a fixed band of tones; you can’t change how wide it is.
Saturation lets you adjust colour within the filter itself, without needing a separate colour adjustment step.
Blend mode and Opacity allow you to fine-tune how the Clarity filter affects the image. These are standard controls in any GIMP filter.
An important step required to install the Presence plugin
GIMP processes your image through a library of tools called GEGL operations. They’re behind a lot of the features we use all the time, including filters like sharpen, blur, adjust colour, detect edges, etc. Plugins can be built on top of those operations, combining and controlling them so you don’t have to. The Presence plugin adds Clarity as a filter in GIMP.
Because of the way GIMP installs new GEGL filters, after saving the Presence plugin to your plugins folder, you must open, close, then reopen GIMP in order for the plugin and its filters to be properly registered. See the installation instructions below.
Clarity in GIMP
The Presence plugin’s Clarity filter is a modern approach to an old problem: creative flexibility without hard work. Start with Amount, adjust the other sliders to taste, and you’re done. You can always update the effect whenever you want, without having to reconstruct it.
Where Lightroom, Affinity, and Capture One give you a single, fixed slider, Clarity gives you Amount, Midtone range, and Saturation as separate controls, plus adjustable blend mode and opacity to control how the filter fits into the filter stack.
If you’re moving to GIMP from Lightroom or another photo editor, Clarity will feel immediately familiar. If you’re a longtime GIMP user, it’s a fresh way to get clarity, without any fuss.
Good to know
- The plugin currently supports Linux and Windows. macOS is currently not supported.
- The plugin checks for updates automatically. You can also check manually via Filters > Presence > Check for updates.
- Built-in help explains how the filter works: Filters > Presence > Presence help… .
- IMPORTANT! When you install or update the Presence plugin, you must open, close, then reopen GIMP for the plugin to be properly registered. Odd process for installing a plugin, but that’s just what GIMP requires for this type of plugin.
What languages is the plugin available in?
This plugin is available in the following languages. You don’t have to do anything to see it in your language. GIMP will automatically load the correct version of the plugin (provided you follow the installation instructions below).
- Nederlands (Dutch)
- English
- Français (French)
- Deutsch (German)
- Italiano (Italian)
- Magyar (Hungarian)
- 日本語 (Japanese)
- Polski (Polish)
- Português (European Portuguese)
- Português (Brazilian Portuguese)
- Español (Spanish)
- Українська (Ukrainian)
- 简体中文 (Chinese (Simplified))
- 繁體中文 (Chinese (Traditional))
If you have any suggestions to improve those translations, please let me know.
Install the Presence plugin to get the Clarity filter
This plugin is supported for GIMP 3.2 and later, on Linux and Windows.
If you run into problems with these steps, let me know in the comments below.
IMPORTANT! Before you start:
GIMP processes your image through a library of tools called GEGL operations. They’re behind a lot of the features we use all the time, including filters like sharpen, blur, adjust colour, detect edges, etc. Plugins can be built on top of those operations, combining and controlling them so you don’t have to. The Presence plugin adds Clarity as an additional filter available to GIMP.
Because of the way GIMP installs new GEGL filters, after saving the Presence plugin to your plugins folder, you must open, close, then reopen GIMP, in order for the plugin and its filters to be properly registered.
1. Download the Presence plugin
Download the Presence plugin as a .ZIP file. You’ll extract it as described in the next section.
2. Copy the downloaded .ZIP file to where GIMP looks for plugins
This is something you have to do for every plugin you add to GIMP 3.
Find where GIMP looks for plugins:
- Open GIMP if it’s not already open and select Edit > Preferences in the GIMP menu.
- In the Preferences dialog, scroll down the list on the left until you find Folders, then click on the expand icon in front of the word.
- Scroll down the list of folders and select Plug-ins.
- Still in the Preferences dialog, on the Plug-in Folders panel on the right, locate your plugin folder(s). You can use the folder that’s listed for your user name or add a new one.
- Click on the “Show file location in the file manager” button to open your computer’s file manager.
- Copy the .ZIP file you downloaded into that folder and extract it there. You should see a subfolder named “presence-gimp3”. The plugin is inside that folder (see the note below for why it should be in its own subfolder). Don’t move it, just leave it in that subfolder.
- Files downloaded from the internet or transferred across systems may not retain their “executable” flag, especially on Linux. The plugin’s .py file needs the correct permission to be executed as a script. It’s a quirk of the different operating systems’ security models. Windows 11 treats plugin .py files as executable automatically.
How to make the plugin executable on Linux:
You should be able to right-click on the .py file and set the permission to allow it as an executable. Or you could set it in your Terminal app with the commandchmod +x. For example, with GIMP 3, I extracted the plugin folder into a subfolder of Documents, so the command would be[PATH TO WHERE YOU EXTRACTED THE PLUGIN FOLDER]//presence-gimp3presence.pygimp3-chmod +x "Documents/GIMP plugins/..py"/gimp3-presencegimp3-presence
There are two files in the presence-gimp3 folder that need to be marked as executable: -gimp3.py and helpers.py. Do not mark any other files in that folder as executable.presence
3. Register the plugin with GIMP
As mentioned above, you MUST open GIMP, close it, then open it again for the plugin to become fully registered with GIMP.
If all has gone according to plan, you should find the Presence menu under Filters, where the Clarity filter lives: Filters > Presence > Clarity.
4. Optional: create a keyboard shortcut
If you want to assign a keyboard shortcut to the menu items, go right ahead.
These instructions are the same as for my other GIMP plugins (Interactive luminosity masks, Frequency separation, Dodge and burn…). Only the plugin names change.
Why it’s important to follow these steps
GIMP version 3.x requires every plugin to live in a folder with exactly the same name as the plugin file. (You can see and configure where GIMP looks for plugins in Edit > Preferences > Plug-ins.)
This is an example of how working with free software isn’t entirely free. You have to do some of the work that other systems automate, and put your thinking cap on. Bear in mind that GIMP is developed and maintained by volunteers who donate their time and talents as and when they can. So sometimes documentation lags behind development.
Frequently asked questions
How is GIMP’s Clarity filter different from Lightroom’s Clarity slider?
Both do the same basic job. Key differences:
- Lightroom has one slider, −100 to +100. GIMP’s filter has Amount (−400 to +400), plus Midtone range and Saturation.
- In Lightroom the band of tones affected is fixed. In GIMP, Midtone range lets you narrow or widen it.
- Lightroom applies Clarity inside its raw-processing pipeline. In GIMP it’s a filter attached to a layer, so you can reorder it, stack several copies, and set its blend mode and opacity.
- GIMP’s filter deliberately leaves strong edges alone, so it doesn’t create halos and doesn’t clip highlights. At the same strength, it can look gentler than Lightroom.
Why does GIMP’s Clarity look subtler than Lightroom’s or Affinity’s?
That’s by design: GIMP Clarity protects strong edges and tonal extremes. For a crunchier result, raise Amount (up to 400) or duplicate the filter in the layer’s filter stack. Each copy builds on the one below it.
Why is there no radius or size slider?
Clarity’s detail size is built in because the effect only looks good within a narrow range (larger sizes cause blooming and softness), so the plugin sets size from the image’s dimensions and the effect stays consistent at any resolution. Texture has a Size slider because it targets surface details, the size of which varies from photo to photo.
Can I apply Clarity on only part of the image?
Yes. Select the area first, then open the Clarity dialog. Your adjustments appear only inside the selection. When you click OK, the selection is saved with the layer effect as a mask, so you can remove the selection afterwards. If you reopen the layer effect from the layer’s fx icon later, your changes still apply only to that area.
You can also apply the Clarity filter to an adjustment layer. Read more about adjustment layers here.
Why don’t I see Filters > Presence > Clarity after installing?
Open GIMP, close it, then open it again. On Linux, also check that presence-gimp3.py is marked as executable.
Leave a Reply