### 2.5. Inversion Layer Modes

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

Erotus

  Kuva 8.31. Esimerkki tason tilasta ”Erotus”

  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.

  Tämä tila on vaihdannainen; kahden tason järjestyksellä ei ole merkitystä.

Exclusion

  Kuva 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.

  Tämä tila on vaihdannainen; kahden tason järjestyksellä ei ole merkitystä.

Vähennä

  Kuva 8.33. Esimerkki tason tilasta ”Vähennä”

  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.

Rakeisuuden erotus

  Kuva 8.34. Esimerkki tasotilasta ”Rakeisuuden erotus”

  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.

Rakeisuuden kiinnitys

  Kuva 8.35. Esimerkki tason tilasta ”Rakeisuuden kiinnitys”

  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.

Jaa

  Kuva 8.36. Esimerkki tasotilasta ”Jaa”

  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 Report a documentation error