Use GIMP to extract out the logo from background


I would like to extract out the icon in the following screen (mixed with gray background)

enter image description here


enter image description here

Anyone know how I can do that using GIMP?


4/19/2014 5:19:00 PM

Accepted Answer

Personally, I would rebuild the image from scratch because I find it frustrating not to have original source files. But, until you or someone else gets around to doing that, here's the non-destructive quick fix:

  1. d (changes default fg/bg colors to black & white)
  2. CTRL+SHIFT+n (create new layer) press OK/enter
  3. SHIFT+b (selects the path tool)
  4. Roughly outline your desired image with the path tool: It works like connect-the dots kinda... click once on your image and then click elsewhere and it creates a straight line. Let the lines clip rounded corners for now. Close the path by going around until you get back to your starting point (click on it).
  5. Improve the outline First fix the straight edges. zoom in (shortcut: +) super close so you can see better. Click and drag the dots to get the lines where you want them. (zoom out is -)
  6. Finalize the outline Now fix the curved edges. zoom in (shortcut: +) super close so you can see better. Make sure "polygonal" is unchecked in the toolbox (CTRL+B if the toolbox isn't there). Now you can click on the lines between dots and drag it to make it curved.
  7. Convert the path to a selection Hold down shift and click selection from path in the toolbox (CTRL+B if the toolbox isn't there).
  8. Menu->Layer->Mask->Add Layer Mask and choose "selection", make sure the image layer is selected (everything you don't want is now hidden!)
  9. Fix anything you don't like just click on the paintbrush (p) and paint black on the mask to hide things you don't want, or paint white on the mask to show things you accidentally hid.
  10. To maintain transparency, make sure you save as a png (for production use) in addition to saving the original GIMP file (for future editing).
4/19/2014 3:01:00 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow

Website under construction!!!