Revision Date: 27 August 2015
Magic Wand Tool
The Magic Wand Tool allows areas of similar color to be selected. The region to be selected may be a single continuous shape or multiple separate areas.
It is easiest to think of the Magic Wand Tools behavior as similar to the Paint Bucket, except that instead of filling an area with color the Magic Wand Tool selects it.
In most situations, to select a single continuous area with the Magic Wand Tool, simply click on it.
Of course there are several options which expand and alter the default behavior. These can be found in the Tool Bar.
There are five selection modes. Each has an associated keyboard shortcut for ease of access. The default mode is Replace.
To find out more about these selection modes, see the Shape Selection Tools section.
The Magic Wand Tool shares the same two flood modes as the Paint Bucket Tool: Contiguous and Global.
Flood Mode: Contiguous - the selection will continue to bleed outwards from the click point until neighboring pixels fail to satisfy the Tolerance setting.
Flood Mode: Global - the selection will extend to all the pixels in the layer which satisfy the Tolerance setting.
The keyboard shortcut to enable Global selection mode is the Shift key.
Holding the Shift key down while clicking to make a selection temporarily enables the Global selection mode.
This complex selection was made by first selecting the entire image ( or Ctrl + A).
Next the black areas were excluded by holding down both the Shift key (Global mode) and Alt key (Subtractive mode) while clicking on any black area.
Note how all the disconnected areas of black have been deselected. This technique is particularly useful for selecting text characters.
Another way of achieving the same selection is to select all the black areas ( Shift click on any black pixel ) then
inverting the selection with Ctrl + I.
Similar to the Paint Bucket Tool, Magic Wand's selection can be adjusted by tuning the Tolerance.
New to paint.net is the ability to adjust the Tolerance of an active selection.
Altering the Tolerance reinterprets the selection using the original click point with the new Tolerance parameter.
Click the Finish button in the Tool Bar or press Enter to finish editing the selection.
The effect of adjusting the Tolerance value is shown below:
Magic Wand Tolerance: 25%. The selection captures most of the sky, but not all. The tolerance is too low.
Magic Wand Tolerance: 50%. The selection captures all of the sky, but also some of the water and other elements in the photo.
The tolerance is too high.
Magic Wand Tolerance: 31%. The selection properly captures the area of interest (the sky), no more, no less.
The Magic Wand Tool has two sampling modes, Image and Layer.
These dictate which pixels will be sampled to determine the extent of the selection.
Image - pixels are polled from the composite image to determine their suitability to be included in the selection.
This mode will operate in the same way as if a multi-layered image was flattened prior to using the Magic Wand Tool.
Layer - pixels only within the active layer are polled to determine their suitability to be included in the selection.
This is the same sampling mode as found in previous versions of paint.net.
New to paint.net is the ability to adjust the click point of the Magic Wand Tool while the selection is still active.
Click and drag the central Control Nub to relocate the click point.
The selection will be reinterpreted as if the user had undone the original and reapplied it using the new source point.
Click the Finish button in the Tool Bar, press the Enter key or activate another tool to cease active editing of the selection.
Advanced Use - Selection Building
Often it is not possible to make a completely accurate selection with one click, regardless of the Tolerance setting.
An example might be the subtle skin tones in a facial portrait.
To make complex selections like this, try building a selection using the Magic Wand with a low Tolerance and the Additive selection mode.
The Additive mode allows multiple selections to be chained together, extending the selection each time to capture slightly more of the desired region.
The keyboard shortcut to enable Additive selection mode is the Ctrl key.
Holding down the Ctrl key while clicking adds the new selection region to the existing one.
The selection can be extended with each click while the Ctrl key remains down.
Initial Magic Wand selection with low Tolerance.
Continuing to add to the original selection by clicking new areas while holding the Ctrl key down.
Advanced Use - Selection By Exclusion
Complex selections can also be made by over-selecting then removing areas not required.
This method is particularly effective when the subject is surrounded by a background relatively low in detail.
An initial selection can be made with any of the Selection Tools, then the Magic Wand Tool in Subtractive selection mode is used to remove areas not required.
The keyboard shortcut to enable Subtractive selection mode is the Alt key.
Hold the Alt key down while clicking to temporarily enable Subtractive mode, reducing the selection with each new click.
Lasso Tool used to make initial selection.
Using Magic Wand in Subtractive mode to successively refine the selection.