How to Extract an Image in GIMP

Open your image., Select the path tool from the menu., Begin putting anchors around your image., Connect the first and last anchors by holding down CTRL and clicking the first anchor., Create a selection from the path., Open up your layer dialog and...

10 Steps 2 min read Medium

Step-by-Step Guide

  1. Step 1: Open your image.

    There is no required format, but .xcf (GIMP file) is recommended.

    However, you may use a .jpg, .gif, .png, or any editable image file.

    We used this image, for example.
  2. Step 2: Select the path tool from the menu.

    This is the tool this tutorial will be using. , Each anchor is represented as a circle, and two anchors are connected by a straight line.

    That line is the cutting line, so make sure that it is hovering just off the outline of the object, or touching it.

    Once you've reached the point where you started, move on to the next step. , This will connect them properly.

    If you do not hold down CTRL, then it will move the first anchor instead. , All that is needed is to click the button labeled "Create Selection from Path" under the path tool. , To do this, right click the active layer, and near the bottom is a button named "Create Alpha Channel". , This can be done by looking under the opacity meter and checking the box next to the checkerboard-like icon. , It is important to do that in that order.

    Press CTRL+I to invert and then CTRL+X to cut.

    Your object should now be on a checkerboard background, indicating that it is transparent. , Unless the path was 100% perfect, there will be small pieces of background stuck to the outside of the object or small divots where pieces of the object were cut out.

    While not much can be done to fill in spots that were cut out, the leftover background can be erased.

    Take a 1 pixel eraser and remove anything leftover. , If you have a multi-layer image, regardless of whether you want to keep transparency, it must be saved as an .xcf image.

    If you want it to stay transparent, you must save as an .xcf, .gif or png file.

    Other formats can't handle transparency, and will put the image on a white background.

    If you want to upload it to the Internet, saving 2 copies is recommended.

    In the file menu, click "Save a Copy..."

    and save it as a .xcf file.

    This file you just saved shall stay transparent and allow you to make changes without extracting again, while keeping the current image intact, which you can continue to edit or save as your preferred format.
  3. Step 3: Begin putting anchors around your image.

  4. Step 4: Connect the first and last anchors by holding down CTRL and clicking the first anchor.

  5. Step 5: Create a selection from the path.

  6. Step 6: Open up your layer dialog and create an alpha channel.

  7. Step 7: Lock the new alpha channel.

  8. Step 8: Invert and cut out your object.

  9. Step 9: Erase any remaining pieces of background.

  10. Step 10: Save the file.

Detailed Guide

There is no required format, but .xcf (GIMP file) is recommended.

However, you may use a .jpg, .gif, .png, or any editable image file.

We used this image, for example.

This is the tool this tutorial will be using. , Each anchor is represented as a circle, and two anchors are connected by a straight line.

That line is the cutting line, so make sure that it is hovering just off the outline of the object, or touching it.

Once you've reached the point where you started, move on to the next step. , This will connect them properly.

If you do not hold down CTRL, then it will move the first anchor instead. , All that is needed is to click the button labeled "Create Selection from Path" under the path tool. , To do this, right click the active layer, and near the bottom is a button named "Create Alpha Channel". , This can be done by looking under the opacity meter and checking the box next to the checkerboard-like icon. , It is important to do that in that order.

Press CTRL+I to invert and then CTRL+X to cut.

Your object should now be on a checkerboard background, indicating that it is transparent. , Unless the path was 100% perfect, there will be small pieces of background stuck to the outside of the object or small divots where pieces of the object were cut out.

While not much can be done to fill in spots that were cut out, the leftover background can be erased.

Take a 1 pixel eraser and remove anything leftover. , If you have a multi-layer image, regardless of whether you want to keep transparency, it must be saved as an .xcf image.

If you want it to stay transparent, you must save as an .xcf, .gif or png file.

Other formats can't handle transparency, and will put the image on a white background.

If you want to upload it to the Internet, saving 2 copies is recommended.

In the file menu, click "Save a Copy..."

and save it as a .xcf file.

This file you just saved shall stay transparent and allow you to make changes without extracting again, while keeping the current image intact, which you can continue to edit or save as your preferred format.

About the Author

S

Samuel Flores

Committed to making lifestyle accessible and understandable for everyone.

44 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: