10.18. Layer Color-Stretching Commands
| 10. The Layers Menu |

### 10.18. Layer Color-Stretching Commands

Revision History
Revision $Revision: 2412 $ | 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 15.104. 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 15.105. The “Equalize” command

Equalize

Figure 15.106. The “White Balance” command

White Balance

Figure 15.107. The “Color Enhance” command

Color Enhance

Figure 15.108. The “Normalize” command

Normalize

Figure 15.109. The “Stretch Contrast” command

Stretch Contrast

Figure 15.110. The “Stretch HSV” command

Stretch HSV

10.17. The Reverse Layer Order command |  | 10.19. Autocrop Layer