4.10. Separating an Object From Its Background

Figure 3.27. Object with Background

Object with Background

Sometimes you need to separate the subject of an image from its background. You may want to have the subject on a flat color, or keep the background transparent so you can use it on an existing background, or any other thing you have in mind. To do this, you must first use GIMP's selection tools to draw a selection around your subject. This is not an easy task, and selecting the correct tool is crucial. You have several tools to accomplish this:

Once you have selected your subject successfully, use Select → Invert. Now, instead of the subject, the background is selected. What you do now depends on what you intended to do with the background: