Using The GIMP Mask
From time to time I will be adding items to these pages giving details of how to achieve certain objectives, usually related to genealogy and the use of Legacy software, often in conjunction with other software.
I am not suggesting that the solutions offered are the only, or indeed the best, options to solving problems but simply that they are ways which I have found to work.
* 'V' indicates a video is available
- Using Legacy Search V
- Search Events, Locations and Married Names V
- Create an Ancestry Book
- Map with Google Earth
- History of British Prime Ministers - Timeline
- British Civil Registration
- The Murder of Adam Mather
- Improve Photo Colour Balance
- Transparency with The Gimp
- Masking with The Gimp
- Web Safe Colours
- Create Legacy Web Pages - Part 1
- Create Legacy Web Pages - Part 2
- Create Legacy Web Pages - Part 3
- Using LTools Tidy Legacy HTML
- Insert Pictures into Web Pages
- Insert RSS Feed into Web Pages
- Getting Online
- Protect Your PC
- Open Legacy files with Open Office V
- FamGenContacts Database
- Create Direct Line Ancestor Tree
What is masking for? Well, basically, if it is wished to copy a section of, say, a photograph onto another it can be difficult to copy exactly the section required, and this is where masking can help by improving the accuracy of the selection.
When taking this photograph I had not noticed the bird which is surrounded by the clutter of the boat (in the original it is much smaller). It is reasonably easy to move the bird and place it in a more suitable place on this photograph or another. For simplicity I have chosen some sky from another picture.
Initially it is necessary to select the outline of the bird, and I chose to do this using the Select by Path Tool. Because of the uneven outline of the bird I left a reasonable amount of space between the rough outline and the bird itself.
After selecting by path, and then clicking the Mask Icon, the dotted square at the bottom-left of the screen, the section not selected will be covered by a transparent red layer, as shown below.
As can be seen there is quite a large margin of sky around the bird. To remove this we need to use a paint brush and black paint to cover the blue (it will paint red!). It is often easier to enlarge the photo (View>Zoom) and the size of the brush can also be varied. When completed it will look something like this:
Finally, we click the Mask Icon again and copy the selection, the bird, and use 'paste' to paste it onto your new background (or 'paste into' to centralise). Anchor using Layer>Anchor and make any adjusments necessary using, for example, smudge or blur etc.
Enjoy!Printer friendly version
Corrections, comments and suggestions are welcome, so please use the contact facility below.
The above information is given without warranty either expressed or implied