You are currently viewing the United Kingdom version of the site.
Would you like to switch to your local site?
15 MIN READ TIME

GIMP

How to make better cut-outs in GIMP

We often have photos where certain elements have to be “isolated” from the background. Use GIMP and Karsten Günther for this task!

OUR EXPERT

Karsten Günther is a long-time LaTeX, Linux and GIMP user, and has written a number of books on these topics.

The isolated parts of an image contained on a separate layer can usually be used either in the same image, or another image as additional elements. They can also emphasise certain parts of the image. Every form of collage, for example, is based on this technique. We’re going to look at a number of common methods that GIMP and the G’MIC plug-in offer for isolating image elements, often known as cutouts. In principle, the task is quite simple. The desired parts of the image – the motif or the “foreground” – are marked with a selection and then either copied and pasted as a new layer. Alternatively, the selection is inverted and the rest is removed from this layer. Creating a clean selection isn’t usually straightforward, which is why several selection tools and various methods of combining selections should be explored. The first approach the user will probably try is to make use of just one of GIMP or G’MIC’s selection tools. The result will differ greatly, depending on the subject to be extracted and its surroundings. The “magnetic scissors” tool is tricky to master, but foreground selection, for example, often delivers the goods.

QUICK TIP

Don’t change the preset threshold of the colour selection directly with the slider. Instead, use the interactive options, which change when you hold down the left mouse button. Move the mouse to the right and the threshold becomes larger; move it to the left and it becomes smaller.

In many cases, a multi-stage procedure makes sense. Starting with the rectangle selection tool means you create a “pre-selection” that contains everything that’s needed while keeping the image size to a minimum. Smaller image sizes help to reduce your computing load, and processing time. Select the desired area and then paste it into the target image. Now you can convert it into a regular layer on which you’ll now continue to work.

Which selection tool you use next to create the final selection essentially depends on the image and the motif to be extracted. The colour selection, the foreground selection and the free selection tools work well. Selections don’t have to be created in one go, nor with just one tool. It’s often much better to combine several selection tools. You can add to an existing selection while holding down Shift, and then remove parts of an existing selection by creating the new selection while holding down Ctrl.

The foreground selection tool is already quite good, but not perfect. Several minor adjustments are almost always necessary at the edges.
Unlock this article and much more with
You can enjoy:
Enjoy this edition in full
Instant access to 600+ titles
Thousands of back issues
No contract or commitment
Try for 99p
SUBSCRIBE NOW
30 day trial, then just £9.99 / month. Cancel anytime. New subscribers only.


Learn more
Pocketmags Plus
Pocketmags Plus

This article is from...


View Issues
Linux Format
FREE Sample Issue
VIEW IN STORE

Other Articles in this Issue


WELCOME
MEET THE TEAM
This issue we’re seeing how many operating systems
Flexible friend
Things used to be simple: you’d have a
REGULARS AT A GLANCE
Debian embraces DuckDuckGo
The distro’s switch from Google as its default search engine causes controversy over privacy concerns.
Hacked tractor plays Doom…
…but also runs outdated and unpatched hardware.
PINE64 drama as moderator quits
Publicly calls out PinePhone manufacturer’s failings.
STOP THE SPRAWL
Donnie Berkholz is senior vice-president, product at Percona
MANAGING EXPECTATIONS
Keith Edmunds is MD of Tiger Computing Ltd,
Canonical embraces RISC-V
Ubuntu now supported on StarFive’s VisionFive RISC-V boards.
Flathub undergoes key changes
The project will make donating to teams easier.
LibreOffice 7.4 released
Now with greater file support and documentation for scripts.
Distro watch
What’s behind the free software sofa?
AI GETS IN YOUR FACE
Marcus Edel is a senior software engineer at
MY SPACE
Jon Masters is a kernel hacker who’s been
Kernel Watch
Jon Masters summarises the latest happenings in the Linux kernel, so that you don’t have to. 
Answers
Got a burning question about open source or the kernel? Whatever your level, email it to lxf.answers@futurenet.com
Mailserver
WRITE TO US Do you have a burning
HotPicks
THE BEST NEW OPEN SOURCE SOFTWARE ON THE PLANET
Syncthing
Syncthing has one of the best application dashboards
Imagine
Imagine is a handy tool for someone who
HomeBank
HomeBank has an intimidating interface that’ll only start
Jitsi
Since anybody with the meeting room can join
Beets
Beets supports the use of query strings with
Vifm
Vifm would be intuitive to operate for someone
Rclone
New users can experience the dexterity of rclone
Unvanquished
Based on the daemon gaming engine, Unvanquished is
Bitfighter
Frenetic gameplay coupled with 80s-arcade graphics and a
AES Crypt
AES Crypt also has a CLI version that
SMPlayer
SMPlayer also includes several backends that you can
GOING FULL RETRO!
NEXT MONTH
LINUX FORMAT
The #1 open source mag Future Publishing Limited,
REVIEWS
REVIEWS AMD Ryzen 5500
Too little, too late is what Alan Dexter hears a lot...
DragonflyBSD 6.2.2
David Rutland takes a long and confusing journey to the land before time, where things look familiar... but aren’t.
KDE Neon 2022.08
David Rutland finds that KDE is a delight to behold and regardless of whether it’s a ‘real’ distro, it’s a charming and relaxing place to be.
NuTyX 22.07
David Rutland finds this distro with its unique package management system a little less nutty than he had expected. It’s certainly a bit crunchy.
Emmabuntüs 4-1
David Rutland finds that the latest stable distro release is a little lacking in the “zig-a-zig-ah” department. Maybe it was lost in translation…
Psychonauts 2
When Management said they’re implementing a mindfulness policy, Matthew Castle didn’t realise it meant entering his very psyche!
ROUNDUP
Creative-writing tools
Struggling to compose a story? Nick Peers reviews five tools that all provide more than a simple writing environment to help bring your novels to life.
Installation, upgrades
How easy is it to install and get up and running with each tool?
User interface and navigation
Are these tools easy to use and how accessible are their features?
Standout features
Find out what sets each program apart.
Planning your novel’s structure
How do our tools fare with helping you to organise and plot your story?
Keep your stories organised
How does each tool organise your story and let you alter its running order?
Helper and search tools
All writers need a helping hand – what tools do our programs offer?
Write and export your story
How good are these tools for getting your text ready for publication?
The Verdict
Creative-writing tools
MULTI-BOOT MINT 21!
Got a new PC with Windows on it? Jonni Bidwell shows how you can get Linux Mint too, without breaking a thing.
Taking precautions
You might need Windows later so let’s make sure it’s not going to get upset.
Installing stereo operating systems
A few more cross-checks and detours, then we can get the freshest edition of Mint installed on your machine…
Tweaking the Mint
Finish the Mint installation, enjoy a fresh view of your Windows files and learn more about UEFI.
Logical Volume Manager
Multiboot many distros with aplomb through the magick of LVM.
Pi USER
RS Group loses its 10-year Pi licence
RS Components had been a manufacturer and distributor of Raspberry Pi since its launch in 2012.
Low-Profile ICE Tower
Les Pounder’s Raspberry Pi runs cool. In contrast, Les always feels the heat. Could this new cooler make even our expert chill out this summer?
Pimoroni Trilobot
Les Pounder (quite literally) makes a new friend with a powerful and affordable Pi-powered robot.
Stream live data to custom web pages
Les Pounder takes the latest and smallest Raspberry Pi with Wi-Fi and turns it into a £6 web server with live sensor data.
Create a Pi-based media centre with Kodi
Kodi is an open source media centre. Michael Reed installs it on his trusty Raspberry Pi for some couch-based entertainment.
IN DEPTH
SAVING THE SMART HOME
The smart home is dying but Matt Holder is here to save the day by showing us how open source can keep the smart-lights on…
TUTORIALS
Manage kernel modules
There’s a lot to be said about finding inner peace through meditation. Yet Shashank Sharma is confident he’ll find nirvana with classy CLI tools.
Set up your smart phone as a webcam
Nick Peers reveals how to convert your mobile devices into cameras you can use while chatting in Linux.
Get to grips with Solaris
Linux veteran Michael Reed wonders if he can pass for a native in the weird and wonderful land of Solaris-derived OpenIndiana.
Getting started with Cura and 3D printing
Not getting the quality of prints you expected from your 3D printer? Ali Jennings shows you the essential steps the manuals often miss.
The art of hiding messages in plain sight
Steganography might not be as well-known as cryptography but, as Mike Bedford reveals, it’s a powerful tool in preserving your security.
TOP OF THE FOSS!
NOURISHMENT FOR THE SOUL
Andrew Lukoshko, benny Vasquez and Jack Aboutboul update Jonni Bidwell on the latest AlmaLinux developments.
CODING ACADEMY
Recreate the classic Pac-Man in Python
Being chased down endless corridors by spectral apparitions is all in a day’s work for Andrew Smith and his Python skills…
Add useful dialogs to terminal scripts
Quickly create dialogs for your shell scripts and even add notifications or menus with the help of Karsten Günther.
Getting started with the powerful eBPF
Extending things is what Mihalis Tsoukalos loves to do, so his heart leapt at the chance to explain the Extended Berkeley Packet Filter.
Chat
X
Pocketmags Support