February 09, 2020

How to remove background in GIMP (Paths Tool)

In today's tutorial, we're going to learn how to remove background in GIMP and make it transparent using Paths tool.

The Paths tool is all about drawing path.

Draw the path around the subject by clicking successively.

You can create curves by dragging on a new node or segment.

Ctrl + Click on the Final node to close the Loop.

To make selections with the Paths Tool, we simply convert the path we've drawn into selections.

Let's get started!
How to remove background in GIMP (using Paths Tool)
Final result. 



Video: How to remove background in GIMP (Paths Tool).

If you liked my tutorials, please subscribe to my YouTube channel - JTSGraph.

1. Open image in GIMP
Use File>Open... command in the top menu or else just press Ctrl+O to open your image.

The Open Image dialog appears, allowing you to navigate to the file and click on its name.

Navigate through your folders in the Places panel and the Name panel until your images' name appears in the Name panel.

Click the image you want to open then click the Open button.

For this GIMP tutorial, I'll use this image, 349790, downloaded from Pixabay.
The Open Image dialog.
The Open Image dialog.

2. Add Transparency
Use Layer>Transparency>Add Alpha Channel to add transparency to the image.

An alpha channel represents the transparency of the image.

This way, we can make the background transparent.

3. Zoom Image to get an accurate view of the subject
Press "Z" from the keyboard and click the image to Zoom in. Press "-" from the keyboard to Zoom out.
Zoom image.
Zoom image.

4. Use the Paths Tool to trace around the Subject
Grab the Paths Tool from the toolbox or use Tools> Paths (B).

Make sure Edit Mode: Design is chosen from the Tools Options.

Use the Paths Tool to trace around the Subject.

Draw the path around the subject by clicking successively.

Start by clicking once to place an initial anchor point.

Continue clicking to set anchor points to create a path.

You can create curves by dragging on a new node or segment.

Ctrl + Click on the Final node to close the Loop.
The Paths Tool.
The Paths Tool.

Start by clicking once to place an initial anchor point. Continue clicking to set anchor points to create a path.
Start by clicking once to place an initial anchor point. Continue clicking to set anchor points to create a path.

Use the Paths Tool to trace around the main image.
Use the Paths Tool to trace around the main image.

5. Create a selection from the path
Use Select>From Path to create a selection from the path or by clicking "Selection from path" on the Tools Option tab.
Create a selection from the path.
Create a selection from the path.

6. Invert the Selection
Use Select>Invert (Ctrl+I) to invert the selection.

All of the layer contents which were previously outside of the selection are now inside it.
Invert the Selection.
Invert the Selection.

7. Delete everything in the current selection
Use Edit>Clear or else just press the Delete key to delete everything in the current selection.

Use Select>None to remove the selection.
Delete everything in the current selection.
Delete everything in the current selection.

8. Save Your Work
Use File>Save command in the top menu or else just press Ctrl+S to save your project file.

The Save Image dialog box appears.

Navigate to the folder where you want to store your project file.

Type a name in the Name text box and leave the default GIMP (*.XCF) format.

XCF is GIMP's native format and is useful because it stores everything about your image and will allow you to later edit your image in GIMP, in case you notice a problem.

Click Save to store the project file.

Once you have finished, don't forget to export the image in PNG format.

3 comments:

  1. Thank you for providing this tutorial. GIMP is easier to use and faster than Photoshop. But I f you need to undertake complex work, Photoshop is the way to go. Photoshop can handle everything. Also, I think people should at least try GIMP for background removing , as you did. It's fun.

    ReplyDelete
  2. That's the content I was Looking For

    ReplyDelete