There are a few ways to mask part of an image in Photoshop. One way is to use the pen tool to draw a path around the area you want to keep, and then use the stroke command with a white brush to make the selection visible. Another way is to use the Quick Mask mode.
Simply paint over the area you want to keep with a black brush, and then invert the selection. Or, you can use the layer mask tool. Select the layer you want to mask, and then click on the “Add Layer Mask” icon at the bottom of the Layers panel.
To use the pen tool, first make sure that the “Paths” option is selected in the options bar at the top of the screen. Then, click on the point where you want to start drawing your path.
As you move your mouse, you’ll see that a line is being drawn behind it. To create a curved line, click on the point where you want to change direction, and then drag your mouse in the direction you want to go. To finish drawing your path, click on the “Start” point again.
To stroke your path, make sure that your path is still selected in the Paths palette, and then go to Edit > Stroke (or use the shortcut Shift + F6). In the stroke dialogue box that appears, choose “White” for the color and “Solid Color” for the mode.
Then click “OK”. Your selection should now be visible.
To use Quick Mask mode, first make sure that your foreground and background colors are set to black and white respectively. Then select the Quick Mask mode from the toolbar at the bottom of your screen.
Now simply paint over the area you want to keep with a black brush. When you’re finished, press Q again to exit Quick Mask mode, and then invert your selection (Select > Inverse or Ctrl/Cmd +Shift + I).
Finally, to use a layer mask, select the layer you want to mask in the Layers palette. Then click on the “Add Layer Mask” icon at the bottom ofthe palette (it looks like a circle within a square).
Now paint overthe area you want to keep with a black brush. Anything that you paintover will become visible again; anything that you don’t paint overwill remain hidden. When you’re finished painting, simply deselect(Ctrl/Cmd + D).
There are a few ways to mask part of an image in Photoshop.