Color Clip is a GIMP plug-in that darkens/brightens a given percentage of the darkest/brightest pixels in a drawable. The drawable can be a layer, layer mask or channel.
With the percentages set to 0%, the plug-in merely performs color stretching in the RGB color space, achieving a result very similar to the GIMP's Colors -> Auto -> Stretch Contrast... tool.
GIMP 3.0.0 or later is required.
- In GIMP, locate the folder containing GIMP plug-ins - open GIMP and go to Edit → Preferences → Folders → Plug-Ins. If you cannot locate any of the folders on your system, you can add a custom folder.
- Copy the
color-clipfolder inside one of the folders identified in step 1. The folder hierarchy should look like this:plug-ins/ ...other plug-in folders... color-clip/ color-clip.py procedure.py
For Windows, make sure you have GIMP installed with support for Python plug-ins.
Open an image in GIMP, select Colors -> Color Clip... and adjust the clip percentages as desired.
Original (left) and with Color Clip applied with 5% white clip and 5% black clip (right):
Color Clip is licensed under the BSD 3-Clause license.
