How To Remove Backgrounds From Images & Pictures

1 - I can do better 2 - Jury's out 3 - Pretty darn good 4 - Splendiferous 5 - Awesometastic by 10 people | Log in to rate

Ranked #1,264 in How-To, #13,888 overall

GIMP's Fuzzy Select Tool Is An Easy Way To Remove Backgrounds

One of the hardest things to do with any photo editing tool seems to be separating objects within a picture from the image's background. At least from the solutions I've seen for the popular photo editing programs, it looks difficult.

I'm not saying that the other, more complicated ways don't work, and GIMP's Color Select and Paths Tools can also be used instead of the Fuzzy Select Tool, but for me this solution is much easier, and much quicker.

It is also much more fun!

Getting Started 

I'm starting with this image of a banana:


Starting Image - Banana.gif




When you start, your image probably only has one layer. You can check by looking at the Layers Dialog box, which should be to the right of the main Image Window, you will see that there is only one layer:


Layers Dialog Box - One Layer



Make A New Layer 

Click on the icon for the Fuzzy Select Tool in the Toolbox which should be the window floating to the left of your main Image Window:


Click Fuzzy Select Tool




The default threshold setting should work fine for this procedure. With the Fuzzy Select Tool Activated, click on your image's background:


Background Selected




On an image like this one, a single click is all I need. The lines that show the border of the background at the outside edge of the picture, and around the banana appear to be moving.

With an image with a background that is broken up with areas that are not connected to each other, you may have to press the shift key as you click other points of the background, or try increasing the threshold setting.

With the entire background selected, click on "Selection" on the main Image Window's toolbar, then click on "Float" on the context menu:


Selection Float




Now you should see two layers in the Layers Dialog box:


Layers Dialog Box - Two Layers



Remove A Layer 

In the Layers Dialog box, select the layer you want to remove, right click on it, then click on delete on the context menu:


Delete Layer




This leaves just the other layer, the checker board type background indicates a transparent background:


Image with Background Removed




Now I can simply copy and paste just the banana into another picture without the white background I had before.

Removing The Background From An Actual Photo 

That seemed easy enough with a image that is not a picture of a real item, but what about removing the background from a photo. Here's a photo of a Half Lemon courtesy of Photos8.com:


Starting Image - Half Lemon




For a picture like this, I find it is better to remove the check mark from the box that says, "Select transparent areas" in the settings for the Fuzzy Select Tool. I also increase the threshold setting.

I'm using 57, but that isn't an exact number. It could be different depending on how much contrast there is between the image you want, and the images in the background that you want removed.


Fuzzy Select Tool Settings




I make my first click in the area that looks to me to be the center of the largest area of the background with a similar shade of color.

The wavy line indicates that I've selected an area from the top left corner, down to the entire lower left corner then almost wrapping beneath the lemon to the lower right side corner.

I even managed to get some of that light green background, probably because there isn't much contrast between it an the main color of background area I had clicked onto.


First Click - Fuzzy Select Background Area




Now I can add to what I've already selected by pressing the "Shift" key as I click more areas. If you want, you can also click a sticky button in the Fuzzy Select Tool settings which will cause all of your clicks to automatically add to the selected areas without having the "Shift" key pressed:


Click 'Add to the current selection'




Now I click a little closer to the lemon, and my selection begins to look a little more chaotic. I'm also touching the lemon on the top left hand side. I want to touch it, I just don't want to select any of it:


Second Click - Fuzzy Select Background Area




At any point, if you feel the tool is selecting to much to be able to control it, lower the threshold. If you do select part of the image you are trying separate from the background, you can click "Edit" on the toolbar, then click "Undo Fuzzy Select":


Undo Fuzzy Select Tool




I dropped the threshold, and after a few more clicks I've selected most of the background. Here I've circled six areas other than the area of the lemon itself which still are not selected:


Third Click - Fuzzy Select Background Area




A few more clicks, and I'm almost there.

If you get a point where a small part of the image you are trying to save gets selected with the background, try lowering the threshold, then click on that point while pressing the "Ctrl" key. This removes that area from the selection.

I would say to lower the threshold so you don't unselect too much:


Over Selected Picture




If you have a lot of spots to remove from selection, there's a sticky button for that, too. If you have one of these stickys set, you can temporarily do the opposite operation by holding down the proper key.

For example, the sticky button here is set to remove areas from selection, but if I hold down the "Shift" key, I will add areas to the selection as I click:


Sticky Button - Remove From Selection




Finally I have the whole background selected, and it looks as if none of the lemon half is selected:


Background Selected




Now to make a new layer by clicking "Select" on the toolbar in the main Image Window, and "Float" in the context menu:


Create a Floating Section




Now I go to the Layers Dialog box, and delete the floating section, which is the background:


Delete Background Layer




Which gives me this:


Background Removed




If I want a copy of this lemon to paste into another picture, I'll go to "Layer" on the main Image Window's Toolbar, drop to "Transparency" which opens another menu, and click on "Add Alpha Channel":


Add Alpha Channel




Then I use the Fuzzy Select Tool to make a new floating section which I'll delete just as I did with the image of the banana in the first example:


Final Picture With No Background



 

GIMP - The GNU Image Manipulation Program
News - Screenshots - Features - Downloads - Documentation
- Get Involved - Plug-in Registry - GIMP Development

GIMP is the GNU Image Manipulation Program. It is a
freely distributed piece of software for such tasks as photo
retouching, image composition and image authoring. It works
on many operating systems, in many languages.

Check Out More Great GIMP Tips 

Comments? What Do You Think About Removing Background Pictures With GIMP? 

submit

Enjoy This Lens About Using GIMP To Remove Backgrounds From Pictures? 

If you would like to rate this lens, then you can do so here (Squidoo members only)




Not a Squidoo Member?

Join Me!

Add this to your lens »

About CleanerLife 

I'm addicted to the Internet, I'm also an information and entertainment junkie.


Lensmaster with over 100 pages of content on Squidoo.


Webmaster for Careers Resources, Live Success and All This and More.

I'm obsessed with eating healthy, fresh food raised or grown as local as possible, reducing pollution, increasing recycling, and using natural products in and around the home.


Careers Resources


↑ Grab this Headline Animator


Lensmaster CleanerLife has been a member since July 16 2008, has rated 2,987 lenses, favorited 762, and has created 101 lenses from scratch. Dan Boutilier donates their royalties to Soldiers Angels. This member's top-ranked page is "Eco-Friendly Christmas Gifts, Presents and Decorations". See all my lenses

Check out these great lenses...

lens image
Squidoo Step by Step
Squidoo Step by Step is a FREE Squidoo Guidebook. Written by well known Squidoo Lensmasters, the Guidebook is full of Squidoo tips and help to make the process of creating and promoting Squidoo lenses much easier. The Squidoo Guidebook is full of ea... view lens
lens image
Why I Love The GIMP For Photo Editing
A powerful image editing tool, The GIMP has been developed to primarily be used on UNIX platforms, but it also runs on MS Windows and Mac OS X. Use it as a simple paint program, for doing expert quality photo retouching, online batch processing, for... view lens
lens image
Squidoo Tips From CleanerLife
Squidoo is great for sharing, much of what I've learned since joining has been from other members of Squidoo. Some Lensmasters are great for giving ideas on how to write better, others explain how to be more artistic. I've received a lot of inspira... view lens
lens image
CleanerLife's Lenses
When I started on Squidoo back in July 2008, I was looking for a way to promote my online business. Little did I know that Squidoo would end up taking up almost all of my time. Building my pages, which we call "Lenses", has been a lot of fun, and I... view lens
lens image
Lensbuilding Blues
Seems I've got me the Lensbuilding Blues. A mean case of Lensmaster writer's block. After only 99 Lenses, how can this be? It's not that I've run out of ideas, I've just run out of ideas that I want to work on right now. After months of Lensbuildin... view lens

CleanerLife's Top 10 

Loading Fetching RSS feed... please stand by

 



GIMP © The GIMP Team

Original content:

Creative Commons License
How To Remove
Backgrounds From Images & Pictures
by CleanerLife
is licensed under a Creative Commons
Attribution-Noncommercial-No Derivative Works 3.0
United States License
.

by CleanerLife

I'm really just getting started with the GIMP. I find that it is a powerful tool that can be a bit confusing at times, but once you learn a few tricks... (more)

Explore related pages

Create a Lens!