GIMP/Removal of Unwanted Elements in the Image
< GIMP
H7 Often there is a need to remove unwanted elements in an image, such as the background. There are multiple methods.
Method 1: Magic Wand
editAn easy method is to use the Magic Wand selection l.
- Firstly, right click on the layer you are working on and add an alpha channel if there is not already one. (Select Layer, Transparency, Add Alpha Channel.)
- Now switch to the Magic Wand tool. Make sure the mode is set to Add to the current selection. (Mode is on Toolbox palette, just below "Fuzzy select".)
- Select all the parts that you want to erase by simply clicking in the area.
- Press Delete.
Method 2: Colour to Alpha
editAn alternative method is Colour to Alpha. This method works better with logos with fewer than 5 colours.
- Firstly, right click on the layer you are working on and add an alpha channel if required.
- Select <Image> Colours > Colour to Alpha.
- Set the colour after the "From:" label to the colour that you would like to remove.
- Click OK.
- Repeat steps 1-4 for any other colours that you need to remove.
Method 3: Foreground Select
editA new method is the Foreground Select tool. This is best when there is only one thing in the foreground which you want to keep.
- Firstly, select the Foreground Select tool.
- Mark out a rough area around the foreground.
- Scribble in the foreground only. Repeat scribbling until the coloured boundary is tightly around the foreground.
- Press ENTER.
- Go to <Image> Select > Invert.
- Press Delete.
Method 4: Use Resynthesizer to remove timestamps
editTo remove items like timestamps with GIMP, you may use the Resynthesizer plugin[1]. Just install it and try 'Filter' → 'Enhance' → 'Heal Selection'.
Method 5: Divide by a blurred version of the image
edit
This method works best with sharp image content on blurry unwanted backgrounds such as the texture of white paper with some written text.
- Copy the whole image into a new layer. Now two layers with the same image exists.
- Select the top layer with the image and switch the mode from "normal" to "divide". The result is a blank white image.
- Select the top layer. In the menu select Filter -> Blur -> Gausian Blur...
- Adjust the parameters for optimal effect, then apply the filter.
- Go to layer -> merge down to combine the layers back to one single layer
- ↑ Resynthesizer Homepage, in Debian Linux, Resynthesizer is included in the gimp-plugin-registry package.