Layer Masks: Non-Destructive Hiding, Not Deleting
Raster Editing Fundamentals
Chapter 5 · Layer Masks: Non-Destructive Hiding, Not Deleting
Chapter 4 closed by promising that masks let visibility vary by area rather than uniformly across a whole layer. This chapter is that concept in full — arguably the single most important non-destructive editing technique this course covers.
The Core Idea: Black Conceals, White Reveals
A layer mask is a grayscale channel attached to a layer. Painting black on the mask hides that area of the layer; painting white reveals it; gray produces partial transparency somewhere in between. This simple rule works identically in both Photoshop and GIMP, and is worth memorizing exactly as stated — black conceals, white reveals.
Masking vs. Erasing: The Critical Distinction
The Eraser tool permanently deletes pixel data from a layer — genuinely destructive, with no way back except undo history or starting over from an earlier saved version. A layer mask instead hides pixels without touching the underlying pixel data at all. Repainting white on the mask instantly restores full visibility, since the original pixels were never actually removed in the first place — only ever hidden.
Painting on a Mask
The Brush tool must be applied directly to the mask's own thumbnail — not the layer's own image thumbnail — for it to actually paint on the mask rather than the image itself. A genuinely common beginner mistake: accidentally painting on the image directly because the wrong thumbnail was selected. Both Photoshop and GIMP show a highlighted border around whichever thumbnail is currently active, worth checking before painting anything.
Creating a Mask From a Selection
Chapter 3's own selection tools become directly useful here: when a mask is added while a selection is active, that selection automatically becomes the mask's own black-and-white pattern — the selected area becomes visible (white), everything outside it becomes hidden (black). This is the natural bridge between Chapter 3's own selection work and this chapter's own masking concept.
Layer Masks in GIMP vs. Photoshop
Both tools support masking identically in concept, with one minor workflow difference: Photoshop's own mask thumbnail appears automatically next to a layer's own thumbnail the moment a mask is added. GIMP requires explicitly adding a Layer Mask via its own menu command first, before a mask thumbnail appears at all — a workflow difference, not a conceptual one.
| Action | Photoshop | GIMP |
|---|---|---|
| Adding a mask | Layer > Layer Mask | Layer > Mask > Add Layer Mask |
| Painting the mask | Brush on mask thumbnail | Brush on mask thumbnail |
| Mask rule | Black hides, white reveals | Black hides, white reveals |
Hands-On Exercises
You've carefully selected a person in a photo using the Lasso/Free Select tool from Chapter 3, and want everything outside that selection to become hidden on this layer. Explain what happens when a mask is added while that selection is still active.
📄 View solutionA user paints black with a large brush, intending to hide part of a layer via its mask, but instead permanently damages the actual image content. Using this chapter's own material, explain the most likely mistake.
📄 View solutionYou want to quickly compare how an image looks with a particular mask applied versus without it, without risking losing the mask's own careful work if you decide to keep it. Using this chapter's own warning box, explain the correct way to do this.
📄 View solutionChapter 5 Quick Reference
- The core rule: black conceals, white reveals, gray is partial — identical in both tools
- A mask hides pixels non-destructively; the Eraser permanently deletes them — a critical distinction
- Always confirm the mask thumbnail (not the image thumbnail) is active before painting
- An active selection, when a mask is added, becomes the mask's own black/white pattern automatically
- Disabling a mask (temporary) is not the same as deleting it (permanent) — disabling lets you compare freely with no risk