Partially selected edge pixels become partially opaque areas of the layer mask when you choose Selection in GIMP’s Add Layer Masks dialog. They are not automatically rounded to fully visible or fully transparent. Use Quick Mask to preview the selection before adding the mask, then inspect both the mask thumbnail and the composite edge to confirm the result.
What the three views mean
A selection describes how strongly an operation applies at each location. A fully selected point is included; an unselected point is excluded; an antialiased boundary can contain intermediate selection values. The selection outline is only a boundary preview, so it does not show every intermediate value.
Quick Mask is a way to preview the selection as an overlay. Its appearance is not the final layer mask. The layer mask is a separate grayscale control attached to a layer: white corresponds to full opacity, black to full transparency, and gray to partial visibility. When initialized from Selection, the selected areas become opaque and unselected areas transparent; partially selected areas retain intermediate values. GIMP specifically recommends Quick Mask as an aid for predicting the result when the selection contains partial areas. GIMP: Add Layer Masks
Preview, then create the mask
Use this sequence for a cutout or other selection-based edit:
- Select the intended image layer in the Layers dialog and confirm that the current selection outlines the subject or region you intend to keep visible.
- Click the Quick Mask button to preview the selection. Check which side of the boundary the overlay covers; do not infer selection polarity from the overlay color alone.
- Inspect the subject interior, the antialiased boundary, and the outside background. Look for a gradual transition at the edge rather than assuming the selection is only on or off.
- Turn off Quick Mask while preserving the selection. Open Layer → Mask → Add Layer Masks…, or use the Layers dialog’s Add Layer Masks command.
- In Initialize Layer Mask to, choose Selection. Leave Invert mask unchecked if the selected subject should remain visible. Click Add.
- In the Layers dialog, select the mask thumbnail, then compare it with the image composite at a useful zoom level. A white interior, gray transition, and black exterior are the expected pattern for that intent.
Quick Mask helps you predict the selection’s effect; it does not itself create or attach the mask. The Add Layer Masks dialog does that and adds a mask thumbnail beside the layer thumbnail. GIMP: Add Layer Masks dialog
Check three sample areas
The following values and observations are a hypothetical inspection example, not measured GIMP output. Use them as a way to record what you see, not as required numeric targets.
| Sample area | Hypothetical selection observation | Expected mask thumbnail | Composite check |
|---|---|---|---|
| Subject interior | Fully selected | White | Subject remains fully visible |
| Antialiased edge | Partially selected | Gray transition | Edge looks partly blended, not abruptly cut off |
| Background | Unselected | Black | Layer is hidden outside the subject |
If your goal is the reverse, the expected visibility changes; Invert mask reverses the mask’s opaque and transparent areas. Do not use a gray fringe alone as proof of an error: compare the thumbnail with the composite and the intended boundary. A selection preview, its Quick Mask overlay, and the final mask are three different things to check.
If the result does not match
If the subject and background appear swapped, check whether Invert mask was selected. As a practical checklist, confirm that a current selection still exists, that the intended layer is active, and that Selection is chosen as the initialization source. If the result still differs from the Quick Mask preview, return to the three sample areas and compare the selection preview, the generated mask thumbnail, and the composite again. If the edge is too hard or too soft for the intended cutout, revise the selection before creating the mask, or edit the mask afterward; the documentation does not prescribe a universal edge value or guarantee a particular visual result.
A layer mask controls visibility; it is not a replacement for editing the image’s color pixels. This workflow also depends on a current selection: the documented Selection option converts that selection into the mask. It does not describe importing a stored channel or deriving a mask from the layer’s existing alpha channel; those are separate initialization choices. Keep the selection’s preview and the resulting thumbnail distinct when diagnosing a mismatch.
Common questions
Does a partially selected edge become a gray mask value?
It should be represented as partial opacity rather than forced to an all-white or all-black value. Check the mask thumbnail and the resulting composite to judge the transition.
Does the marching-ants outline reveal the exact edge opacity?
No. It shows a selection boundary, not a readable map of every intermediate value. Use Quick Mask for a visual preview, then inspect the created mask.
Does Quick Mask itself make the layer transparent?
No. It previews the selection. Choose Selection in Add Layer Masks… to create the layer mask from that selection.
Sources and next step
This guide interprets public documentation and uses explicitly hypothetical acceptance examples, not application tests. Controls and availability can change; verify the cited manual against your installed version.
For work created in Imagild, carry the input requirements and acceptance checklist into the photo editor. The external software controls discussed above belong to their respective products.