{"course":{"slug":"image-editing","title":"Editing an Image","url":"https://addaly.com/learn/image-editing","level":"beginner","track":"create"},"lesson":{"slug":"quick-mask-and-painting-a-selection","title":"Stop fighting the selection tools and paint it","url":"https://addaly.com/learn/image-editing/quick-mask-and-painting-a-selection","position":23,"of":78,"minutes":8,"answer":"Quick Mask turns a selection into a paintable greyscale image.","keyIdea":"Quick Mask turns a selection into a paintable greyscale image, so the fast route to a difficult cut-out is an automatic tool for the bulk followed by a low-opacity brush for the part the tool got wrong."},"body":{"format":"markdown","text":"## The mode that makes a selection into an image\n\nPress **Q** and the marching ants disappear, replaced by a red overlay. You are now in Quick Mask mode, and the selection is being displayed as a temporary greyscale image: selected areas clear, unselected areas red, partially selected areas partly red.\n\nWhile you are in that mode, **every painting tool works on the selection.** Paint with black and the red spreads, removing area from the selection. Paint with white and the red is wiped away, adding area. Grey adds partial selection. Use a gradient, a blur, a texture brush: anything that makes marks makes selection.\n\nPress **Q** again and you are back to a normal selection, ready to become a mask.\n\nGIMP has the identical feature under *Select > Toggle Quick Mask* or **Shift+Q**, with the same red overlay. Krita has *Selection Masks*, which are similar and persist. Photopea has Quick Mask on the same Q shortcut.\n\n## Why this changes how the work feels\n\nThe selection tools are all attempts to guess a boundary. When the guess is good, they are fast. When the guess is bad (a low-contrast edge, a busy background, an object that shares colour with what is behind it) you can spend twenty minutes fighting tolerance sliders and add-and-subtract clicks.\n\nQuick Mask removes the guessing. The rough selection from Quick Selection gets you eighty per cent of the way in two seconds; Q, then eight brushstrokes, gets you the rest. This is faster than any amount of tool-tuning, and it produces a better edge, because you are making decisions rather than adjusting a threshold that applies everywhere at once.\n\n## The two settings people never find\n\nDouble-click the Quick Mask button at the bottom of the toolbar and a dialogue appears with two choices worth knowing.\n\n**Colour Indicates: Masked Areas or Selected Areas.** The default is masked, meaning red is what is *not* selected. If your painting seems inverted, this is why. Flip it to match how you think.\n\n**Opacity and colour of the overlay.** The default is 50 per cent red. When you are masking something red, that is useless. Change it to green or blue for that job. This takes five seconds and saves a lot of squinting.\n\n## The brush settings that do the work\n\nMasking is painting, so the brush settings are the technique.\n\n- **Hardness.** A hard edge (100 per cent) for a manufactured object. Soft (0 to 20 per cent) for shadows, hair, out-of-focus regions. A soft brush is a feather you control per stroke.\n- **Opacity at 20 to 40 per cent**, built up in passes. One stroke at full opacity is a decision you cannot modulate; four at 25 per cent lets you stop where it looks right.\n- **Flow** is different from opacity: opacity caps the maximum a single stroke reaches, flow controls how quickly each dab builds towards it. Low flow with high opacity is the airbrush feel, best for shadow work.\n- **Size with `[` and `]`.** Constantly. A mask painted with one brush size is always visible as a mask.\n\n## Refining an existing mask with paint\n\nThe same idea applies to a mask that already exists, without Quick Mask at all: click the mask thumbnail and paint on it directly. Alt/Option-click it first to see the mask on its own in black and white, which is the only way to find the ragged edges you cannot see against the picture.\n\nThree repairs that come up constantly:\n\n**A halo of old background.** Paint black along the edge with a small soft brush at low opacity, following the outline. Two passes usually removes it.\n\n**A hole in the middle.** Paint white with a large hard brush. The interior of a subject has no edge to preserve, so precision there is wasted effort.\n\n**A too-hard transition.** Select the mask, apply a Gaussian blur of 0.5 to 1 pixel, then a Levels move on the mask to pull the blurred edge back towards where it was. Blurring alone moves the edge outward slightly; the Levels correction is what keeps it in place.\n\n## Making a mask out of something that is not a selection\n\nBecause a mask is just a greyscale image, anything greyscale can become one. Copy a photograph, paste it into a mask, and the photograph's tones now control visibility. Paste a scanned ink texture in and you get a grungy torn-edge effect with no brushwork at all. Paste a gradient and you have a graduated filter.\n\nAlt/Option-click a mask thumbnail to enter it, then Ctrl/Cmd+V. This is the move behind most \"how did they do that edge\" questions.\n\n## The honest limits\n\nPainting a selection is precise and it is **slow**. A complicated cut-out done entirely by hand at 100 per cent zoom is an hour. Use the automatic tools for the bulk and paint the fifteen per cent they got wrong.\n\nIt is also **resolution-dependent** in a way that catches people out. A mask painted while zoomed to 200 per cent can look crude at fit-to-screen, and a mask that looks perfect at fit-to-screen can be visibly blocky at 100 per cent. Check at both, and check the finished composite at the size it will be seen.\n\nAnd hand-painting cannot create partial transparency that reflects reality. You can paint a 50 per cent grey along a hair edge, and it is your estimate of the coverage rather than a measurement of it. For fine edges, the matting methods later in this block do better, because they solve for the coverage from the pixel values instead of guessing it."},"check":{"question":"An editor enters Quick Mask mode to refine a selection around a red jacket and finds they cannot see what they are doing. What is the correct fix?","options":[{"text":"Switch Colour Indicates from Masked Areas to Selected Areas, which reverses which part of the image is covered.","correct":false,"tempting":"Changes which region is overlaid without changing the overlay colour, so a red overlay still disappears against a red jacket wherever it lands."},{"text":"Leave Quick Mask and refine with the lasso instead, since Quick Mask is unsuitable for saturated subjects.","correct":false,"tempting":"Abandons a tool over a display setting: nothing about Quick Mask depends on subject colour once the overlay colour is changed."},{"text":"Reduce the overlay opacity to 20 per cent so the jacket shows through more clearly.","correct":false,"tempting":"Makes the overlay harder to see rather than easier, worsening exactly the problem of distinguishing overlay from subject."},{"text":"Double-click the Quick Mask button and change the overlay colour from red to green or blue for this job.","correct":true}]},"prev":{"slug":"the-pen-tool-properly","title":"Two handles and a curve: making the pen tool obey","url":"https://addaly.com/learn/image-editing/the-pen-tool-properly"},"next":{"slug":"select-by-colour-properly","title":"Tolerance is a wall, fuzziness is a slope","url":"https://addaly.com/learn/image-editing/select-by-colour-properly"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Exam keys checked blind by a second model: 3,665 of 3,666 agreed. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'Stop fighting the selection tools and paint it', in Editing an Image. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/image-editing/quick-mask-and-painting-a-selection (Accessed: 13 October 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"Stop fighting the selection tools and paint it","courseTitle":"Editing an Image","module":{"index":3,"slug":"selections-cutouts-and-edges","title":"Selections, cut-outs and edges"},"answer":null,"keyIdea":"Quick Mask turns a selection into a paintable greyscale image, so the fast route to a difficult cut-out is an automatic tool for the bulk followed by a low-opacity brush for the part the tool got wrong.","hero":{"kind":"plate","image":null,"alt":null,"caption":null},"blocks":[{"t":"h2","id":"the-mode-that-makes-a-selection-into-an-image","runs":[{"text":"The mode that makes a selection into an image"}]},{"t":"p","runs":[{"text":"Press "},{"text":"Q","b":true},{"text":" and the marching ants disappear, replaced by a red overlay. You are now in Quick Mask mode, and the selection is being displayed as a temporary greyscale image: selected areas clear, unselected areas red, partially selected areas partly red."}]},{"t":"p","runs":[{"text":"While you are in that mode, "},{"text":"every painting tool works on the selection.","b":true},{"text":" Paint with black and the red spreads, removing area from the selection. Paint with white and the red is wiped away, adding area. Grey adds partial selection. Use a gradient, a blur, a texture brush: anything that makes marks makes selection."}]},{"t":"p","runs":[{"text":"Press "},{"text":"Q","b":true},{"text":" again and you are back to a normal selection, ready to become a mask."}]},{"t":"p","runs":[{"text":"GIMP has the identical feature under "},{"text":"Select > Toggle Quick Mask","i":true},{"text":" or "},{"text":"Shift+Q","b":true},{"text":", with the same red overlay. Krita has "},{"text":"Selection Masks","i":true},{"text":", which are similar and persist. Photopea has Quick Mask on the same Q shortcut."}]},{"t":"h2","id":"why-this-changes-how-the-work-feels","runs":[{"text":"Why this changes how the work feels"}]},{"t":"p","runs":[{"text":"The selection tools are all attempts to guess a boundary. When the guess is good, they are fast. When the guess is bad (a low-contrast edge, a busy background, an object that shares colour with what is behind it) you can spend twenty minutes fighting tolerance sliders and add-and-subtract clicks."}]},{"t":"p","runs":[{"text":"Quick Mask removes the guessing. The rough selection from Quick Selection gets you eighty per cent of the way in two seconds; Q, then eight brushstrokes, gets you the rest. This is faster than any amount of tool-tuning, and it produces a better edge, because you are making decisions rather than adjusting a threshold that applies everywhere at once."}]},{"t":"h2","id":"the-two-settings-people-never-find","runs":[{"text":"The two settings people never find"}]},{"t":"p","runs":[{"text":"Double-click the Quick Mask button at the bottom of the toolbar and a dialogue appears with two choices worth knowing."}]},{"t":"p","runs":[{"text":"Colour Indicates: Masked Areas or Selected Areas.","b":true},{"text":" The default is masked, meaning red is what is "},{"text":"not","i":true},{"text":" selected. If your painting seems inverted, this is why. Flip it to match how you think."}]},{"t":"p","runs":[{"text":"Opacity and colour of the overlay.","b":true},{"text":" The default is 50 per cent red. When you are masking something red, that is useless. Change it to green or blue for that job. This takes five seconds and saves a lot of squinting."}]},{"t":"h2","id":"the-brush-settings-that-do-the-work","runs":[{"text":"The brush settings that do the work"}]},{"t":"p","runs":[{"text":"Masking is painting, so the brush settings are the technique."}]},{"t":"ul","items":[[{"text":"Hardness.","b":true},{"text":" A hard edge (100 per cent) for a manufactured object. Soft (0 to 20 per cent) for shadows, hair, out-of-focus regions. A soft brush is a feather you control per stroke."}],[{"text":"Opacity at 20 to 40 per cent","b":true},{"text":", built up in passes. One stroke at full opacity is a decision you cannot modulate; four at 25 per cent lets you stop where it looks right."}],[{"text":"Flow","b":true},{"text":" is different from opacity: opacity caps the maximum a single stroke reaches, flow controls how quickly each dab builds towards it. Low flow with high opacity is the airbrush feel, best for shadow work."}],[{"text":"Size with ","b":true},{"text":"[","b":true,"code":true},{"text":" and ","b":true},{"text":"]","b":true,"code":true},{"text":".","b":true},{"text":" Constantly. A mask painted with one brush size is always visible as a mask."}]]},{"t":"h2","id":"refining-an-existing-mask-with-paint","runs":[{"text":"Refining an existing mask with paint"}]},{"t":"p","runs":[{"text":"The same idea applies to a mask that already exists, without Quick Mask at all: click the mask thumbnail and paint on it directly. Alt/Option-click it first to see the mask on its own in black and white, which is the only way to find the ragged edges you cannot see against the picture."}]},{"t":"p","runs":[{"text":"Three repairs that come up constantly:"}]},{"t":"p","runs":[{"text":"A halo of old background.","b":true},{"text":" Paint black along the edge with a small soft brush at low opacity, following the outline. Two passes usually removes it."}]},{"t":"p","runs":[{"text":"A hole in the middle.","b":true},{"text":" Paint white with a large hard brush. The interior of a subject has no edge to preserve, so precision there is wasted effort."}]},{"t":"p","runs":[{"text":"A too-hard transition.","b":true},{"text":" Select the mask, apply a Gaussian blur of 0.5 to 1 pixel, then a Levels move on the mask to pull the blurred edge back towards where it was. Blurring alone moves the edge outward slightly; the Levels correction is what keeps it in place."}]},{"t":"h2","id":"making-a-mask-out-of-something-that-is-not-a-selection","runs":[{"text":"Making a mask out of something that is not a selection"}]},{"t":"p","runs":[{"text":"Because a mask is just a greyscale image, anything greyscale can become one. Copy a photograph, paste it into a mask, and the photograph’s tones now control visibility. Paste a scanned ink texture in and you get a grungy torn-edge effect with no brushwork at all. Paste a gradient and you have a graduated filter."}]},{"t":"p","runs":[{"text":"Alt/Option-click a mask thumbnail to enter it, then Ctrl/Cmd+V. This is the move behind most “how did they do that edge” questions."}]},{"t":"h2","id":"the-honest-limits","runs":[{"text":"The honest limits"}],"role":"limit"},{"t":"p","runs":[{"text":"Painting a selection is precise and it is "},{"text":"slow","b":true},{"text":". A complicated cut-out done entirely by hand at 100 per cent zoom is an hour. Use the automatic tools for the bulk and paint the fifteen per cent they got wrong."}]},{"t":"p","runs":[{"text":"It is also "},{"text":"resolution-dependent","b":true},{"text":" in a way that catches people out. A mask painted while zoomed to 200 per cent can look crude at fit-to-screen, and a mask that looks perfect at fit-to-screen can be visibly blocky at 100 per cent. Check at both, and check the finished composite at the size it will be seen."}]},{"t":"p","runs":[{"text":"And hand-painting cannot create partial transparency that reflects reality. You can paint a 50 per cent grey along a hair edge, and it is your estimate of the coverage rather than a measurement of it. For fine edges, the matting methods later in this block do better, because they solve for the coverage from the pixel values instead of guessing it."}]}],"check":{"question":[{"text":"An editor enters Quick Mask mode to refine a selection around a red jacket and finds they cannot see what they are doing. What is the correct fix?"}],"options":[{"text":[{"text":"Switch Colour Indicates from Masked Areas to Selected Areas, which reverses which part of the image is covered."}],"correct":false,"tempting":[{"text":"Changes which region is overlaid without changing the overlay colour, so a red overlay still disappears against a red jacket wherever it lands."}]},{"text":[{"text":"Leave Quick Mask and refine with the lasso instead, since Quick Mask is unsuitable for saturated subjects."}],"correct":false,"tempting":[{"text":"Abandons a tool over a display setting: nothing about Quick Mask depends on subject colour once the overlay colour is changed."}]},{"text":[{"text":"Reduce the overlay opacity to 20 per cent so the jacket shows through more clearly."}],"correct":false,"tempting":[{"text":"Makes the overlay harder to see rather than easier, worsening exactly the problem of distinguishing overlay from subject."}]},{"text":[{"text":"Double-click the Quick Mask button and change the overlay colour from red to green or blue for this job."}],"correct":true,"tempting":null}],"order":[0,3,2,1],"why":null},"prev":{"slug":"the-pen-tool-properly","title":"Two handles and a curve: making the pen tool obey","minutes":10},"next":{"slug":"select-by-colour-properly","title":"Tolerance is a wall, fuzziness is a slope","minutes":8}}}