2.3. Darken Layer Modes

The Darken group contains layer modes that make the result darker.

Darken only

شكل 8.20. Example for layer mode Darken only

Example for layer mode “Darken only”

Top layer at 100% opacity using Darken only mode.


Darken only mode compares each component of each pixel in the upper layer with the corresponding one in the lower layer and uses the smaller value in the resulting image. Completely white layers have no effect on the final image and completely black layers result in a black image.

The mode is commutative; the order of the two layers doesn't matter.

Luma/Luminance darken only

شكل 8.21. Example for layer mode Luma/luminance darken only

Example for layer mode “Luma/luminance darken only”

Top layer at 100% opacity using Luma/Luminance Darken only mode.


Luma/luminance Darken only mode compares the luminance of each pixel in the upper layer with the corresponding one in the lower layer and uses the smaller value in the resulting image. Completely white layers have no effect on the final image and completely black layers result in a black image. Luma is the perceptual version of Luminance.

The mode is commutative; the order of the two layers doesn't matter (except for transparent areas in the bottom layer).

Multiply

شكل 8.22. Example for layer mode Multiply

Example for layer mode “Multiply”

Top layer at 100% opacity using Multiply mode.


Multiply mode multiplies the pixel values of the upper layer with those of the layer below it. The result is usually a darker image. If either layer is white, the resulting image is the same as the other layer. If either layer is black, the resulting image is completely black.

The mode is commutative; the order of the two layers doesn't matter (except for transparent areas in the bottom layer).

Burn

شكل 8.23. Example for layer mode Burn

Example for layer mode “Burn”

Top layer at 100% opacity using Burn mode.


Burn mode inverts the pixel value of the lower layer, divides that by the pixel value of the upper layer, then inverts the result. It tends to make the image darker, somewhat similar to Multiply mode.

In photography, burning is a technique used in a darkroom to increase the exposure in particular areas of the image. This brings out details in the highlights. When used for this purpose, burn may work best on Grayscale images and with a painting tool, rather than as a layer mode.

Linear burn

شكل 8.24. Example for layer mode Linear burn

Example for layer mode “Linear burn”

Top layer at 100% opacity using Linear Burn mode.


Linear Burn mode adds the pixel values of the upper and lower layers, and then subtracts 1.0. It tends to make the image darker, somewhat similar to Multiply mode.