Adjust black, white and mid-gray points.

The levels tool offers two modes of operation:

The levels tool shows a histogram of the image, and displays three bars with handles. Drag the handles to modify the black, middle-gray and white points in absolute values of image lightness (the L value from Lab).

Moving the black and white bars to match the left and right borders of the histogram will make the output image span the full available tonal range. This will increase the image’s contrast.

Moving the middle bar will modify the middle-gray tones. Shifting it left will make the image look brighter, shifting it right will make it darker. This is often referred to as changing the image’s gamma.

Three color pickers are available for sampling the black, white and gray points from the image. The “auto” button auto-adjusts the black and white point and puts the gray point exactly in the mean between them.

The module automatically analyses the histogram of the image, detects the left and right histogram borders, and lets you define the black point, the gray point and the white point in terms of percentiles relative to these borders.

Note: Under certain conditions, especially with highly saturated blue light sources, the levels module may produce black pixel artifacts. See the “gamut clipping” option of the input color profile module for information about how to mitigate this issue.

🔗module controls

The mode of operation (automatic or manual).
black (automatic mode only)
The black point in percentiles relative to the left border of the histogram.
The gray point in percentiles relative to the left and right borders of the histogram after having applied the black point and white point corrections.
The white point in percentiles relative to the right border of the histogram.