8.15. The Auto Submenu

图 16.171. The Colors/Auto submenu

The “Colors/Auto” submenu

The Auto submenu contains operations which automatically adjust the distribution of colors in the active layer, without requiring any input from the user. Several of these operations are actually implemented as plugins.

8.15.1. Activate submenu

  • You can access this submenu from the image window through ColorsAuto.

8.15.2. Automatic Color-Stretching

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.

图 16.172. 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.


图 16.173.  The Equalize command

The Equalize command

Equalize example


图 16.174.  The White Balance command

The White Balance command

White Balance example


图 16.175.  The Stretch Contrast command

The Stretch Contrast command

Stretch Contrast example


图 16.176.  The Stretch Contrast HSV command

The Stretch Contrast HSV command

Stretch Contrast HSV example


图 16.177.  The Color Enhance (legacy) command

The Color Enhance (legacy) command

Color Enhance (legacy) example