Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




10.19.  Layer Color-Stretching Commands

Revision History
Revision $Revision$ 2006-09-11 scb

GIMP has several automatic commands for stretching the columns of the histogram for the color channels of the active layer. By pushing bright pixels to the right and dark pixels to the left, they make bright pixels brighter and dark pixels darker, which enhances the contrast in the layer.

Some of the commands stretch the three color channels equally, so that the hues are not changed. Other commands stretch each of the color channels separately, which changes the hues.

The way the stretching is done varies with the different commands and the results look different. It is not easy to predict exactly what each command will do. If you know exactly what you are doing, you can get the same results, and even more, with the Levels tool.

Here are examples of the results of these commands, all together on one page, so you can compare them more easily. The most appropriate command depends upon your image, so you should try each of them to see which command works best on it.

  • Figure 10.82.  The original layer and its histograms

    The original layer and its histograms

    This layer doesn't have any very bright or very dark pixels, so it works well with these commands.

    Figure 10.83.  The “Equalize” command

    Figure 10.84.  The “White Balance” command

    Figure 10.85.  The “Stretch Contrast” command

    Figure 10.86.  The “Stretch HSV” command

    Figure 10.87.  The “Color Enhance” command

    Figure 10.88.  The “Normalize” command

  Published under the terms of the GNU General Public License Design by Interspire