7.27. Mask to Selection
| 7. The „Layer” Menu |

### 7.27. Mask to Selection

The Mask to Selection command converts the layer mask of the active layer into a selection, which replaces the selection that is already active in the image. White areas of the layer mask are selected, black areas are not selected, and gray areas are converted into feathered selections. The layer mask itself is not modified by this command.

#### 7.27.1. Activating the Command

- You can access this command from the image menubar through Layer → Mask → Mask to Selection,

- or from the pop-up menu you get by right-clicking on the active layer in the Layers Dialog.

#### 7.27.2. Illustration of „Layer Mask to Selection”

Rysunek 15.96. Illustration of „Layer Mask to Selection”

On the left, the original image with a selection. In the middle, the Layers Dialog with a layer mask created with the „Layer's alpha channel” option. On the right, the result after applying „Mask to Selection”: the selection of the non-transparent pixels of the active layer replaces the initial selection.

7.26. Disable Layer Mask |  | 7.28. Add Layer Mask to Selection