Site icon ChrisWrites.com

How to Use Preview’s Instant Alpha (Magic Wand) Tool in OS X

Anyone who has medium familiarity with Adobe Photoshop has probably discovered the usefulness of the Magic Wand tool that has resided in the standard toolbar since version 0.87. The tool is used to select pixels based on their color within a range (Tolerance) that can be set by the user.

Beginning with OS X Leopard, Apple has incorporated a variant of the Magic Wand into the Mac OS Component app known as Preview. Dubbed Instant Alpha, it is similar in function and is used for removing specific components of a photograph as when removing a background to isolate a subject.

 

The Hidden Tool

With OS X 10.8 (Mountain Lion), Instant Alpha now is hidden away in its own toolbar and nested within with a group of selection tools. Access is to the tool is gained by first clicking on the Show Edit Toolbar button shown above. The Edit Toolbar will display beneath the default toolbar revealing several useful tools, the Selection Tools button among them (see above). You can either: a) click and hold that button for a pop-up menu of all the selection tools, or, b) stretch the width of the Preview window causing the selection tools to line up side-by-side in the lower toolbar. Providing you are viewing an image and not a pdf, you will be able to use any of the tools in this menu (otherwise they will be grayed out, indicating that they are not available for use with pdf files).

NOTE: All of the tools in Preview use the same cross-shaped cursor (+). There is no indication of which tool you are using once you’ve made your selection in the toolbar.

 

Background Removal

Start by clicking and holding inside of any group of pixels you wish to remove. Dragging away from the click point in any direction increases the size of the selection based on the similarity of adjacent pixels. The selection will display in real-time as a transparent, red mask. When you release the mouse, the mask changes to show the “marching ants” around the area that will be removed. Clicking the Delete key will remove the selected pixels and leave an area of transparency.

 

Tips & Caveats

 

As you can see, expanding the selection of the lavender plant in the background includes some of the subject because of the low contrast.

Here the subject and the surrounding sand are completely different in color and contrast so the Instant Alpha tool makes quick work of selecting the background for deletion.

Keeping these caveats in mind, Preview is a very handy tool for kicking out a quick edit for web or email display, or to save time (and money) over using software like Photoshop, especially if your normal workflow doesn’t require professional image editing capabilities.

Exit mobile version