### 2.5. Inversion Layer Modes

The « Inversion » group contains layer modes that invert the colors in one way or another.

Différence

  Figure 8.31. Exemple pour le mode de calque « Différence »

  Top layer at 100% opacity using « Difference » mode.

  Difference mode subtracts the pixel value of the upper layer from that of the lower layer and then takes the absolute value of the result. This mode can be used to compare two layers. If they are identical the difference is zero (black), otherwise the result shows the variance of the tonal values in each pixel. A white foreground inverts the background whereas a white background inverts the foreground.

  Ce mode est commutatif : l’ordre des calques ne compte pas.

Exclusion

  Figure 8.32. Example for layer mode « Exclusion »

  Top layer at 100% opacity using « Exclusion » mode.

  Exclusion mode causes inversion to the other layer for bright regions, very dark regions change nothing at all. In this way this mode resembles Difference mode. However, medium gray values greatly decrease contrast of the respective other layer, in extreme cases up to zero.

  Ce mode est commutatif : l’ordre des calques ne compte pas.

Soustraction

  Figure 8.33. Exemple pour le mode de calque « Soustraction »

  Top layer at 100% opacity using « Subtract » mode.

  Subtract mode subtracts the pixel values of the upper layer from the pixel values of the lower layer. The resulting image is normally darker. You might get a lot of black or near-black in the resulting image.

Extraction de grain

  Figure 8.34. Exemple pour le mode de calque « Extraction de grain »

  Top layer at 100% opacity using « Grain Extract » mode.

  Grain extract mode is supposed to extract the « film grain » from a layer to produce a new layer that is pure grain, but it can also be useful for giving images an embossed appearance. It subtracts the pixel value of the upper layer from that of the lower layer and adds 0.5.

Fusion de grain

  Figure 8.35. Exemple pour le mode de calque « Fusion de grain »

  Top layer at 100% opacity using « Grain Merge » mode.

  Grain merge mode merges a grain layer (possibly one created from the « Grain extract » mode) into the current layer, leaving a grainy version of the original layer. It does just the opposite of « Grain extract ». It adds the pixel values of the upper and lower layers together and subtracts 0.5.

Diviser

  Figure 8.36. Exemple pour le mode de calque « Diviser »

  Top layer at 100% opacity using « Divide » mode.

  Divide mode divides each pixel value in the lower layer by the corresponding pixel value of the upper layer (while avoiding dividing by zero). The resulting image is often lighter, and sometimes looks « burned out ».

2.4. Contrast Layer Modes |  | 2.6. HSV Components Layer Modes

Report a bug in GIMP Signalez une erreur de documentation