Last updated
Tip: The shortcut for the Eraser tool is E.
Often you will need to remove sections of an image or erase sections. Using the basic eraser tool this is simple. By selecting the Eraser tool and then drawing with it you can take sections of the image to transparency. If there is a background to the image you will erase back to the background.
If you are familiar with the Pencil and Brush Tools usage should be straightforward. You have three options available to you:
The Brush and Pencil options are the same as using these tools. The only difference is that when you draw you are removing pixels rather than adding them. Block is what it suggests - a block!
Once you have selected the brush type you have two further options:
Finally there is the Erase to History checkbox. If you have altered the image in any way you will be able to see the history of the alterations by going to Window > History. This will bring up a list of actions. It works much in the same way as the History Brush Tool. As you paint the pixels from the previous state will be revealed. If you don’t have any history this option will not be available to you.
Commonly I use the basic eraser tool to remove mistakes or blemishes made on layers. With a quick swipe of the eraser tool it is gone.
This tool knocks out the background from images. It works well where the background is distinct, but for me it is often a bit clumsy. It is useful for going to a transparent background. For cases where you want to smooth the background you may be better to use the Healing Brush Tool.
This works much like the Magic Wand Tool but instead of selecting sections of an image it removes them. Have a look at this photo by mipdesign on Flickr. On the left is the raw image. On the right I have selected the Magic Eraser tool. With one click the background is removed to transparency allowing me to replace it with something else.
Have an update or suggestion for this article? You can edit it here and send me a pull request.
Using HashiCorp Vault with LDAP
How to use HashiCorp Vault to setup an LDAP backed secret store with read-only access for users in groups and read-write access for specific users
Linux and Unix xargs command tutorial with examples
Tutorial on using xargs, a UNIX and Linux command for building and executing command lines from standard input. Examples of cutting by character, byte position, cutting based on delimiter and how to modify the output delimiter.
Copy a file in Go
How to copy a file in Go. The ioutil package does not offer a shorthand way of copying a file. Instead the os package should be used.