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)
Anyone know how I can do that using GIMP?
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:
- d (changes default fg/bg colors to black & white)
- CTRL+SHIFT+n (create new layer) press OK/enter
- SHIFT+b (selects the path tool)
- 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).
- 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 -)
- 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.
- 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).
- Menu->Layer->Mask->Add Layer Mask and choose "selection", make sure the image layer is selected (everything you don't want is now hidden!)
- 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.
- To maintain transparency, make sure you save as a png (for production use) in addition to saving the original GIMP file (for future editing).