Post Reply 

How to erase to background layer?

Apr 13, 2014, 11:21 (This post was last modified: Apr 13, 2014 11:22 by jamesmith134.)
Post: #1
How to erase to background layer?
Hello Smile

I want to create a simple logo made of 2 words.
What I'm trying to do is to put a background layer (which is an image of something). Then I want to add a text layer. After adding the text I want to give it a silverish/metal frame, and then Shrink it by like 2-4 pixels, and I want to fill the shrinked selection with the first background layer, so the end result will be a text filled with the initial background layer,surrounded by the metal frame. I hope I made sense in my explanation Rolleyes

I did get to the point where I got a text with silverish/metal frame but then I don't know how to fill the inside with the background layer

Thank you guys Big Grin
Find all posts by this user
Quote this message in a reply
Apr 13, 2014, 12:42 (This post was last modified: Apr 13, 2014 12:48 by rich2005.)
Post: #2
RE: How to erase to background layer?
I guess you want something like this.

Not a very metallic outline, for the record this one comes from
------------
text layer
text to path
new layer and stroke the path with a pattern
make a bump map layer from the path, black on white and gaussian blur.
apply bump map to the outline layer
------------
The bit you want is
The pattern layer has a layermask, black full transparency. It is filled with a copy of the text layer converted to white on black
That filters out everything except the area of the text and since the outline is a higher layer that covers the edge of the pattern.

[Image: DPTTmiH.jpg]

Edit: For a beginner, maybe an easier way is use the path to make a selection on the pattern layer
invert the selection
cut the selection leaving the pattern filled text.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Apr 13, 2014, 16:20 (This post was last modified: Apr 13, 2014 16:20 by jamesmith134.)
Post: #3
RE: How to erase to background layer?
Thank you for the reply Smile
This is almost what I want , but I just want the inner part of the text to be the same as the background (yours seem to be quite different color), and I also want the final result to be just the text without the surrounding background (in your example just show the "GIMPFORUMS" text)

And second, can you please write the instructions exactly like it would show on GIMP menus? because I am a real beginner, if you don't tell me exactly how to do that I can't find out how to Smile

Thank you again!
Find all posts by this user
Quote this message in a reply
Apr 13, 2014, 17:48 (This post was last modified: Apr 16, 2014 11:16 by rich2005.)
Post: #4
RE: How to erase to background layer?
EDIT: nearly posted yet another guess. Can you post a screenshot of
Quote:...I did get to the point where I got a text with silverish/metal frame..

so we know what is involved.

I will leave this up, might be useful, but I think not

OK. Even easier way, but in a video.

having a tidy up - everyone finished with this ...going..going..gone
http://www.youtube.com/watch?v=FxmoocoPEDw&hd=1

Just read your post again and still not what you want. Sorry about that, my fault for not paying attention. However all the basics are there.

Either have a background with the same pattern
or
once you have the selection, Edit -> cut the text out on the layer with the pattern.

If you want to sharpen up your bump-mapping for an outline, plenty to absorb here.

http://gimpforums.com/thread-basic-concepts

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Apr 13, 2014, 19:33 (This post was last modified: Apr 13, 2014 19:39 by jamesmith134.)
Post: #5
RE: How to erase to background layer?
Thank you so much for creating a video especially for me.
I will try to explain it with a photo now Big Grin

In my photo the word "Example" has a metalic/silver frame filled with black color.
The background is a bacteria (that's what I found for the example Smile).
But the problem is, I don't want to fill the word "Example" with the black color, What I want is to make the black color transparent, so it will blend with the bacteria background, so that I will be able to move the word "Example" freely across the background and choose a good position for the word, and then cut just the word and remain with a word "Example" with a metal frame, filled with a part of the bacteria background.

I hope you understand me now Big Grin

Thanks Smile


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Apr 13, 2014, 20:04
Post: #6
RE: How to erase to background layer?
I could be wrong but it looks from here that all you have to do is turn off the visibility of the text layer.
The layer 'inside of text' is not really required, turn that off as well.

[Image: gy18ifi.jpg]

Anyway that is me over for the night. Time to go off line Wink

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Apr 14, 2014, 05:08
Post: #7
RE: How to erase to background layer?
This is exactly what I want!
The problem is, in order to create my silver frame, I am using 1 layer to fill the text with silver gradient, and then in another layer I do "Shrink" by a few pixels, and in this new layer I fill it with color, making it look like a frame.

but it looks like you used a different way of making this frame, how did you do that?

Also, will it be possible to do it in my way as well? I mean, using "Shrink" , and somehow instead of filling the shrinked area, simply delete it thus making the inside clear?

Thank you once again Big Grin
Find all posts by this user
Quote this message in a reply
Apr 14, 2014, 08:25 (This post was last modified: Apr 16, 2014 11:17 by rich2005.)
Post: #8
RE: How to erase to background layer?
Ok, New day.
I thought you were there with your outline layer, even so, you are almost there and I think you have gone one layer too many.

You must have made a selection (many ways to do this) to fill that text, then shrink the selection to form the outline.

All you need to do then is Edit -> Cut (or ctrl-x or del) that selection to show the background.

having a tidy up - everyone finished with this ...going..going..gone
Something like this http://www.youtube.com/watch?v=tJty_04Ukkg&hd=1 2 mins

There is a little enhancement at the end, more about bump-mapping here
http://gimpforums.com/thread-basic-concepts see the 3rd post, 1st video.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Apr 14, 2014, 11:32 (This post was last modified: Apr 14, 2014 11:41 by jamesmith134.)
Post: #9
RE: How to erase to background layer?
Yes! This is what I am looking for ! Thank you!
*btw you had me loling when you found out that the metal frame I was talking about was the "Brushed Aluminium"

Last thing and I stop bothering you : How do I cut just the text and remove the background? so I will end up with a text filled with some part of the background but without background surrounding the text?

You're a genius! Thank you Big Grin
You also said there are easier ways, maybe you have links to some helpful threads about how to do that?
Find all posts by this user
Quote this message in a reply
Apr 14, 2014, 12:51 (This post was last modified: Apr 14, 2014 12:52 by rich2005.)
Post: #10
RE: How to erase to background layer?
All just variations on a theme. Selecting and cutting.

Some preparatory work before you make your outline.

Give the background layer some transparency. Colors menu -> add alpha channel

screenshot http://i.imgur.com/afIHrGV.jpg

Make your selection from the text layer (whichever way you want) but then go into the selection menu and invert the selection.

screenshot. http://i.imgur.com/NmbNVMl.jpg

Now onto the background layer, everything except the text is selected. Edit menu -> cut ( ctrl-x or del) removes.

Back to the select menu and invert the selection again to restore the selection to the text.

Make your outline the way you want.....

screenshot. http://i.imgur.com/nFpearV.jpg

Something to try with text
There is a function; Layer menu -> Text to path. Make sure you are on a text layer or it does not show. Apply it.
Now make a new layer. In the Edit menu -> stroke path. You can use a solid or preset dashes or a paint tool or a pattern. This will usually give you a better result outlining text than shrinking and cutting a selection.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Apr 15, 2014, 11:33
Post: #11
RE: How to erase to background layer?
Thank you so much for your patience, I finally did it!
Only if I could add more points to your reputation Big Grin!
Now I followed your instructions like a robot, so I have no idea what would have happened had I not added "alpha channel" to the background layer (Gimp is so complicated) - so I guess it's time to experiment

You have no idea how I appreciate your help! you helped me in the most annoying little things (I know how frustrating it can be to help beginners while you already know these things perfectly Big Grin)
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Paste layer without merging with other layer stephenboston 1 411 Sep 4, 2018 05:21
Last Post: paynekj
  Foreground selection tool does't change background color ericr 1 142 Aug 26, 2018 21:16
Last Post: paynekj
  Retro Games Background snooks 1 208 Jun 13, 2018 21:57
Last Post: paynekj
  After floating a layer, how do you return the selection to the whole image? ithortureu 1 210 May 13, 2018 07:15
Last Post: paynekj
  Saving a layer Dalmon 1 376 Apr 26, 2018 15:37
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS