If this is your first visit, be sure to
check out the FAQ. You will have to register
before you can post. To start viewing messages,
select the forum that you want to visit from the selection below.
Please do not use the CODE tag when pasting content that contains formatting (colored, bold, underline, italic, etc).
The CODE tag displays all content as plain text, including the formatting tags, making it difficult to read.
Need help in copying only the foreground, if at all possible, from a picture using GIMP.
Thanks!
The way to see by faith is to shut the eye of reason .....Benjamin Franklin<br />Kubuntu 9.10 x64 Xbuntu 9.10 x64 Win7 x64 Ultimate<br />Linux User: 416878 Kubuntu User: 22154
You mean like the image of an old guy chewing a cigar, cut out of a big group photo?
I'm away from my Kubuntu system at the moment, but I'll (a) remind myself how I did it and (b) post the technique in a couple of hours.
EDIT: OK, here's the deal. There is a "foreground select tool". On mine (gimp 2.4.5) it is the first tool in the second row of tools. However, I don't like it. I use the free select tool -- it is the third tool on the top row. Take your photo and do "view > zoom" and enlarge it to 200% or so (this makes your shaky outline look real crisp when it's back down to 100%). Then use the free select tool to carefully draw a line around the perimeter of what you want. When you close the line, you can do "edit > copy" and then "paste as > new image" and that area will become a new image on a blank (transparent) background. Then you "file > save as" and proceed to do whatever you want with it.
That is close to what I require but not quite. I am really looking at a text document where I want only the text in the foreground and not the background it appears on, a graphic scene in this case.
When I use the foreground select tool parts of the bg still remains within the text and is a tedious process to remove.
I may well be seeking a feature that Gimp does not have.
Regards!
The way to see by faith is to shut the eye of reason .....Benjamin Franklin<br />Kubuntu 9.10 x64 Xbuntu 9.10 x64 Win7 x64 Ultimate<br />Linux User: 416878 Kubuntu User: 22154
If the image was "merged" -- i.e. the layers were merged into a single layer after the text was placed over the background, then you're probably not going to get a clean separation. :P
If the image was "merged" -- i.e. the layers were merged into a single layer after the text was placed over the background, then you're probably not going to get a clean separation.
I concur.
The only clean way I can think of to do this is to go into the app you used to make your image and "unmerge" / break apart the image. Then copy the text layer out.
By the way, there is a terrific screencast about using Gimp...and some of the old episodes deal with the various methods available in Gimp for making precise selections. You can go here and find episodes 17 and 18. I highly recommend any of the shows if you're interested in becoming proficient with Gimp.
Comment