2. レイヤーのモード

GIMP has thirty-eight layer modes, split up in seven groups: Normal, Lighten, Darken, Contrast, Inversion, HSV components, and LCh components. In addition to these layer modes, there are also the so-called legacy layer modes, which were used before GIMP 2.10. They are still available for backwards compatibility with saved images from older GIMP versions, but should normally not be used when creating new images.

Layer modes are also called blending modes. Selecting a layer mode changes the appearance of the layer or image, based on the layer or layers beneath it. Each layer in an image can have a different layer mode. The effects of these layer modes are cumulative. However, setting the mode to anything but Normal for the bottom layer of any layer group and the bottom layer of the image has no effect.

You can set the layer mode in the Mode drop-down menu at the top of the Layers Dialog. GIMP uses the layer mode to determine how to combine each pixel in the top layer with the pixel in the same location in the layer below it.

[注記] 注記

When the active tool is a painting tool, there is a drop-down list in the Tool Options which contains modes that affect the painting tools in a similar way to the layer modes. You can use all of the same modes for painting that are available for layers, and there are additional modes just for the painting tools. See 「描画モードの例」.

Layer modes permit complex color changes in the image. They are often used with a new layer which acts as a kind of mask. For example, if you put a solid white layer over an image and set the layer mode of the new layer to HSV Saturation, the underlying visible layers will appear in shades of gray.

図8.7 Images used for the layer mode examples

Images used for the layer mode examples

Background image (bottom layer)

Images used for the layer mode examples

Mask (top layer)


The examples below show the effects of each of the layer modes. Each example will also describe the effect of the layer mode.

Since the results of each mode vary greatly depending upon the colors on the layers, these images can only give you a general idea of how the modes work. You are encouraged to try them out yourself. You might start with two similar layers, where one is a copy of the other, but slightly modified (by being blurred, moved, rotated, scaled, color-inverted, etc.), and see what happens when you change the layer mode of the top layer.

2.1. Normal Layer Modes

The Normal group is a bit of a misnomer. Most of the modes besides Normal are cancellation modes.

標準

図8.8 レイヤーモード標準の例

レイヤーモード「標準」の例

Top layer is at 50% Opacity.

レイヤーモード「標準」の例

With 100% opacity for the top layer, only the upper layer is shown when blending with Normal, except for the transparent areas.


標準 モードは既定のレイヤーモードです。 上のレイヤーがその下側のレイヤーを覆い隠します。 このモードで下側のレイヤーが僅かでも見えるようにするには上のレイヤーに透過部分がなくてはなりません。

ディザー合成

図8.9 レイヤーモードディザー合成の例

レイヤーモード「ディザー合成」の例

Top layer is at 50% Opacity. The effect of Dissolve is visible everywhere, except in areas that are completely transparent.

レイヤーモード「ディザー合成」の例

With 100% opacity of the top layer, only some edges that are semi transparent are affected by Dissolve.


Dissolve mode dissolves the upper layer into the layer beneath it by drawing a random pattern of pixels in areas of partial transparency. This is especially visible along the edges within an image. It can be useful as a layer mode, but it is also often used as a painting mode.

Color Erase

図8.10 Example for layer mode Color Erase

Example for layer mode 「Color Erase」

Top layer at 100% opacity using Color Erase mode.


Color Erase mode erases the colors in the upper layer from the lower layer. Black pixels in the upper layer make those parts in the bottom layer transparent, while white pixels have no effect. Anything in between removes those specific colors from the bottom layer, leaving the other color components intact.

Erase

図8.11 Example for layer mode Erase

Example for layer mode 「Erase」

Top layer at 100% opacity using Erase mode. The white parts here are transparent.


Erase mode erases any non transparent area of the upper layer from the lower layer, making those parts in the bottom layer transparent.

Merge

図8.12 Example for layer mode Merge

Example for layer mode 「Merge」

Top layer at 100% opacity using Merge mode.


Merge mode lays the source layer on top of the destination, the same as normal mode. However, it assumes the source and destination are two parts of an original whole, and are therefore mutually exclusive. This is useful for blending cut and pasted content without artifacts, or for replacing erased content in general.

Split

図8.13 Example for layer mode Split

Example for layer mode 「Split」

Top layer at 100% opacity using Split mode. The white parts here are transparent.


Split mode subtracts the source layer from the destination, such that recompositing the result with the source using merge mode reproduces the original content.