O'Reilly logo

Raspberry Pi For Dummies by Mike Cook, Sean McManus

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Fixing Imperfections

On Sean’s holiday to Australia, he found a beautiful unspoiled beach in Darwin. He took a picture of it: a lone tree in the foreground, the shimmering sea, and wisps of cloud in a light blue sky. When he got home, he noticed that some idiot had left a crushed beer can in the foreground.

Thankfully, in GIMP, you can use a handy tool called the Clone tool to make little details like this vanish. It enables you to use part of the image as a pattern that you spray over another part of the image. In Sean’s case, he can use a clean piece of beach as the pattern and spray it on top of the litter. Hey, presto! The rubbish vanishes.

Here’s how you use the Clone tool:

1. Zoom in to your image using the menu underneath it. Use the scrollbars at the side of the image pane to position your image so you have a clear view of the imperfection.

2. Click the Clone tool, which looks like a rubber stamp, or press the C key.

3. Move your cursor to an unspoiled part of the image you would like to use as the pattern, or clone source. This needs to be somewhere as plain as possible, more of a texture than a shape, with no obvious prominent details or lines. Sky, grass, or sand are perfect. Hold down the Ctrl key and click the mouse button.

A crosshair icon appears on your image at that spot.

4. In the tool options, at the bottom of the left pane, check the brush that is being used. Click the shape (a circle by default) if you want to change it.

For best results, use a brush ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required