1. Open Your Image in Photoshop:
* Go to File > Open... and select the portrait image you want to edit.
2. Select the Magnetic Lasso Tool:
* In the Tools panel (usually on the left side of your screen), find the Lasso Tool. Click and hold the Lasso Tool icon. A fly-out menu will appear.
* Select the Magnetic Lasso Tool from the fly-out menu.
3. Configure the Magnetic Lasso Tool:
* In the options bar at the top of the screen, you'll see settings for the Magnetic Lasso Tool. Adjust them for optimal results:
* Width: Determines how far away from the edge the tool will try to snap. A value between 5-20 pixels is a good starting point. Increase it for blurry edges or decrease it for very sharp edges.
* Contrast: Controls the sensitivity to color and brightness differences. Lower values (e.g., 10%) are better for low-contrast edges; higher values (e.g., 30%) are better for high-contrast edges.
* Frequency: Controls how often anchor points are placed. Higher values (e.g., 60) create a more detailed selection but also more anchor points to manage. Lower values (e.g., 30) create fewer anchor points, making the selection smoother but potentially less accurate.
* Tablet Pressure for Size: Uncheck this unless you are using a pressure-sensitive tablet. If checked, the width of the selection area will be affected by the pressure you apply with your stylus.
4. Start Making the Selection:
* Click: Click once on the edge of the subject you want to select to create your starting point.
* Move Along the Edge: Slowly move the Magnetic Lasso Tool along the edge of your subject. The tool will automatically try to snap to the edge based on the Width, Contrast, and Frequency settings.
* Anchor Points: The tool automatically places anchor points as you move. You can manually add anchor points by clicking with the mouse if you want to force a point in a specific location. This is useful if the tool is struggling to find the correct edge.
* Correcting Mistakes:
* Backspace/Delete: If the tool makes a mistake and goes off the edge, press the Backspace or Delete key to remove the last anchor point. You can keep pressing it to remove multiple anchor points and go back.
* Adjust Settings: If you consistently encounter problems, try adjusting the Width, Contrast, and Frequency settings.
* Closing the Selection: Once you've traced the entire subject, move the cursor back to the starting point. When the cursor changes to include a small circle icon, click to close the selection.
5. Refine the Selection (Optional but Recommended):
* Even with careful tracing, the Magnetic Lasso often leaves imperfections. Use the "Select and Mask" workspace to refine the selection:
* Go to Select > Select and Mask... (in older versions, this may be "Refine Edge...")
* View Mode: Experiment with different view modes (e.g., Overlay, On Black, On White) to best see the selection edges.
* Edge Detection (Radius): Increase the Radius slider to have Photoshop look further from the current selection edge to find better edges. Start with a small value (e.g., 1 pixel) and increase it gradually.
* Global Refinements:
* Smooth: Reduces jagged edges.
* Feather: Blurs the selection edge for a more natural transition. (A small amount, like 0.5-1 pixel, is often helpful).
* Contrast: Sharpens the selection edge.
* Shift Edge: Moves the selection edge inward (negative values) or outward (positive values). This can be useful to correct for "halo" effects.
* Output Settings: Set "Output To" to "Selection" for now. Click "OK".
6. Invert the Selection:
* Now that you've selected the *subject*, you need to select the *background* to blur it. Invert the selection:
* Go to Select > Inverse. This selects everything *except* your subject.
7. Apply the Blur:
* Go to Filter > Blur > Gaussian Blur...
* In the Gaussian Blur dialog box, adjust the Radius slider to control the amount of blur. A value between 2-10 pixels is usually a good starting point, depending on the resolution of your image and the desired effect.
* Preview the blur in the window.
* Click "OK" to apply the blur.
8. Deselect:
* Go to Select > Deselect (or press Ctrl+D / Cmd+D) to remove the selection outline.
9. Save Your Image:
* Go to File > Save As...
* Choose a different filename (e.g., "portrait_blurred.jpg") to avoid overwriting your original image.
* Select a file format (JPEG is common for photos, but PNG is good for preserving transparency if you've made any adjustments).
* Click "Save".
Tips and Troubleshooting:
* Work in Layers: A non-destructive workflow is always recommended. Duplicate your background layer (right-click the background layer in the Layers panel and select "Duplicate Layer..."). This allows you to adjust the blur later without affecting the original image. Apply the blur to the duplicate layer.
* Zoom In: Zoom in (Ctrl++ / Cmd++) to see the edges of your subject more clearly when using the Magnetic Lasso Tool.
* Short Strokes: Use shorter strokes with the Magnetic Lasso Tool, especially around complex curves or details. This gives you more control.
* High-Resolution Images: The Magnetic Lasso Tool is generally more effective on high-resolution images because it has more pixels to work with.
* Experiment with Settings: Don't be afraid to experiment with the settings of the Magnetic Lasso Tool to find what works best for your specific image.
* Consider Other Selection Tools: As mentioned before, the Quick Selection Tool or the Select Subject command (Select > Subject) are often faster and more accurate for portrait selections. The Pen Tool can also create very precise selections if you're willing to spend the time. "Select and Mask" is often a helpful step for refining selections, regardless of the initial selection tool you use.
Example Scenario:
Let's say you have a portrait with a relatively distinct subject and background.
1. You open the image in Photoshop.
2. You select the Magnetic Lasso Tool.
3. You set the Width to 10px, Contrast to 25%, and Frequency to 40.
4. You click on the edge of the subject's head and slowly trace around the entire subject.
5. You correct any mistakes by pressing Backspace to remove anchor points.
6. You close the selection by clicking on the starting point.
7. You use "Select and Mask" to refine the edges, perhaps using a Radius of 2px, Smoothing of 1, and a small amount of Feather.
8. You invert the selection (Select > Inverse).
9. You apply a Gaussian Blur with a Radius of 5 pixels (Filter > Blur > Gaussian Blur...).
10. You deselect (Select > Deselect).
11. You save the image.
Good luck! Practice makes perfect, and you'll get better at using the Magnetic Lasso Tool with time and experimentation. Remember to explore the other selection tools in Photoshop, as they might be better suited for your specific needs.