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

[注意] 注意

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.25.1. Activate the Command

  • You can access this command from the image menubar through ImageMerge Visible Layers…,

  • or by using the keyboard shortcut Ctrl+M.

6.25.2.  Description of the Layers Merge Options Dialog

图 16.85. The Layers Merge Options Dialog

The “Layers Merge Options” 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.

Merge within active group only

This self-explanatory option is enabled when a layer group exists.

Discard invisible layers

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

图 16.86. Merge visible layers example

“Merge visible layers” example

Three layers; two are visible

“Merge visible layers” example

Discard invisible layers unchecked

“Merge visible layers” example

Discard invisible layers checked