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:
The “Free Select Tool” allows you to draw a border using either freehand or straight lines. Use this when the subject has a relatively simple shape. Read more about this tool here: Seção 2.4, “Seleção Livre (Laço)”
The “Intelligent Scissors Select tool” lets you select a freehand border and uses edge-recognition algorithms to better fit the border around the object. Use this when the subject is complex but distinct enough against its current background. Read more about this tool here: Seção 2.7, “Tesouras Inteligentes”
The “Foreground Select Tool” lets you mark areas as “Foreground” or “Background” and refines the selection automatically. Read more about this tool here: Seção 2.8, “Seleção de frente”
Once you have selected your subject successfully, use
→ . Now, instead of the subject, the background is selected. What you do now depends on what you intended to do with the background:Preencher o fundo com uma única cor:
Clique na amostra de cor de frente (no canto superior esquerdo dos dois retângulos coloridos sobrepostos) na Caixa de ferramentas e selecione a cor desejada. Em seguida, use a Seção 3.4, “Preenchimento com balde” para substituir o fundo com a cor escolhida (ou simplesmente arraste a cor para a imagem).
Para tornar um fundo preto e branco, mantendo o objeto colorido:
Use
→ . Na caixa de diálogo que abrir, alterne entre os modos e selecione o que tenha melhor visual, em seguida, clique em OK.