6.19. Merge Visible Layers
| 6. The “Image” Menu |

### 6.19. Merge Visible Layers

The Merge Visible Layers command merges the layers which are visible into a single layer. Visible layers are those which are indicated on the Layers dialog with an “eye” icon.

| Note
With this command, the original visible layers disappear. With the New From Visible command, a new layer is created at top of the stack and original visible layers persist.

#### 6.19.1. Activate the Command

- You can access this command from the image menubar through Image → Merge Visible Layers,

- or by using the keyboard shortcut Ctrl+M.

#### 6.19.2. Description of the “Merge Layers” Dialog

Figure 15.69. The “Merge Layers” Dialog

Final, Merged Layer should be:

  Visible layers are the layers which are marked with an “eye” icon in the Layers dialog.

  - Expanded as necessary: The final layer is large enough to contain all of the merged layers. Please note that a layer in GIMP can be larger than the image.

  - Clipped to image: The final layer is the same size as the image. Remember that layers in GIMP can be larger than the image itself. Any layers in the image that are larger than the image are clipped by this option.

  - Clipped to bottom layer: The final layer is the same size as the bottom layer. If the bottom layer is smaller than some of the visible layers, the final layer is clipped and trimmed to the size and position of the bottom layer.

Discard invisible layers

  When this option is checked, non visible layers are removed from the layer stack.

  Figure 15.70. “Merge visible layers” example

  Three layers; two are visible

  “Discard invisible layers” unchecked

  “Discard invisible layers” checked

6.18. Zealous Crop |  | 6.20. Flatten Image