A little like the Magnetic Lasso tool the Magic Wand does much of the hard work for you. It works by selecting pixels based on settings defined by you. Select the Magic Wand tool by pressing W.
In this example we are going to remove the background of a picture. This is a common task in Photoshop and one that is simple with the Magic Wand tool.
The Magic Wand tool is primarily a selection tool so you will see the same options that you get in the Lasso and Marquee tools:
There are a number of other options too:
Before starting you should copy the Background layer. This is a good idea so you can recover the image if anything goes wrong. Select your copied layer to begin working on it.
I’ve selected the Magic Wand tool using W and clicked into the background. You will see that at a tolerance of 60 it has selected some but not all of the background.
Tip: If you are not happy with your selection hit Apple + D (CTRL + D on Windows) to remove it and start again.
To select all the background I now use the add to selection option. Hold shift and you will see the icon change. Click in the areas that are not included until all of the background is selected.
Once you have the background selected you can remove it or fill it as you wish. I’ve removed my selection by hitting CTRL + X
Have an update or suggestion for this article? You can edit it here and send me a pull request.
Linux and Unix watch command tutorial with examples
Tutorial on using watch, a UNIX and Linux command for executing a program periodically and showing a fullscreen output. Examples of watching a file download, a network interface come up, and showing the five most CPU intensive processes.
Build your own Vim statusline
Statuslines in Vim are not hard to create. Making your own means one less dependency in your life.
Custom Vim Bindings in tmux 2.4
tmux 2.4 made a significant change to key bindings. Here is how to support custom keybindings for versions before and after tmux 2.4