Post Reply 

Embedding/Superimposing text on an image

Mar 22, 2011, 23:58
Post: #1
Embedding/Superimposing text on an image
Hello all. My problem might be a little more complicated than most problems considered 'beginner', but for all I know about GIMP (which is very little), it could be very simple.

I wish to superimpose text on an image so that the text's color us what color it was superimposed upon. To better explain what I want, take this rainbow image:

http://www.katurahenley.com/images/rainbow.jpg

Say somebody type a large lowercase g near the top left corner of the image. The top circle of the g would be red whereas the bottom circle (or hook depending on the font) would be purple since it dips that far down.

After I finish typing the text, I could save that layer, or cut/copy that text as a new image and save it then.

Anybody know how I could do this? Thanks for reading.
Find all posts by this user
Quote this message in a reply
Mar 23, 2011, 00:07
Post: #2
RE: Embedding/Superimposing text on an image
So what make it transparent in the middle? So you just have an outline of the text?
Visit this user's website Find all posts by this user
Quote this message in a reply
Mar 23, 2011, 00:34
Post: #3
RE: Embedding/Superimposing text on an image
See if this gives you the result that you want.

Open the Rainbow image.

Add the text.

Select the text using the Fuzzy Select tool.

In the Layers window, click on the rainbow layer.

Copy the selection.

Ctrl + C


Paste as a new image.

Ctrl + Shift + V

Save as PNG.
Find all posts by this user
Quote this message in a reply
Mar 23, 2011, 00:42
Post: #4
RE: Embedding/Superimposing text on an image
That might, but I think he wanted something more like
not the greatest, but I think this is what he means
Had to crop cause it was too big of file size


Attached File(s) Thumbnail(s)
   
Visit this user's website Find all posts by this user
Quote this message in a reply
Mar 23, 2011, 00:56 (This post was last modified: Mar 23, 2011 00:56 by Xfer.)
Post: #5
RE: Embedding/Superimposing text on an image
Thanks for the responses, but tardigrade has basically what I'm looking for... but the polar opposite.

Your suggestion gives transparent text with the background area around it untouched. I'd like the text to maintain the color, but with transparent background area.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Mar 23, 2011, 01:02
Post: #6
RE: Embedding/Superimposing text on an image
Okay that is really really easy, place your text on the image, then go to the text layer, then use the text tool and select the text, then in the menu that is on the right side of your screen, at the bottom it should say create Path from text, hit that, then go to the layers area and create a new layers, then go to the paths layers, and select the path that you just created. Right click, and selecti0n from path. then go back to your layers, select the rainbow layers, Ctl+C, then the new layer, and Ctrl+V, should give you what you want.

Hope you can understand this...
Visit this user's website Find all posts by this user
Quote this message in a reply
Mar 23, 2011, 01:27 (This post was last modified: Mar 23, 2011 03:15 by Tardigrade.)
Post: #7
RE: Embedding/Superimposing text on an image
I've adjusted the steps:

Open the Rainbow image.

Add the text.

Select the text using the Fuzzy Select tool
with Shift key held down as you click on each letter.

In the Layers window, click on the rainbow layer, to make it the active layer.

Copy the selection.

Ctrl + C


Paste as a new image.

Ctrl + Shift + V

Save as PNG.

http://img220.imageshack.us/img220/5020/fst01.png
Find all posts by this user
Quote this message in a reply
Mar 23, 2011, 01:29
Post: #8
RE: Embedding/Superimposing text on an image
See how you have that Pixely edges on the sides? Using the path method doesn't give those Big Grin
Visit this user's website Find all posts by this user
Quote this message in a reply
Mar 23, 2011, 03:00
Post: #9
RE: Embedding/Superimposing text on an image
Here's another way to do it that doesn't give pixelly edges.

Open the Rainbow image.

Add a layer mask.

Layer > Mask > Add layer mask
Black (Full transparency) OK
(The rainbow will vanish)

In the Toolbox, set your foreground color to white.

Add the text.

Copy the text layer.

Ctrl + A

Ctrl + C

In the Layers window, click on the rainbow layer.

Paste.

Ctrl + V

Make the white text layer not visible.

Anchor the floating layer.

Layer > Anchor Layer

Merge Visible Layers

Image > Merge Visible Layers
Clipped to Image

Save as PNG.


[Image: rainbowbbcc.png]
Find all posts by this user
Quote this message in a reply
Mar 23, 2011, 04:46 (This post was last modified: Mar 23, 2011 04:54 by Xfer.)
Post: #10
RE: Embedding/Superimposing text on an image
Willy - I lost track when you said "then in the menu that is on the right side of your screen". I believe I'm using a dated version of GIMP (2.2.9), though.

Tardigrade - Those instructions yield an error for me. I'm unable to Merge Visible Layers since I only have the one visible layer (one was anchored and the white text was made invisible).
Find all posts by this user
Quote this message in a reply
Mar 23, 2011, 05:10
Post: #11
RE: Embedding/Superimposing text on an image
For some reason, my GIMP wants me to merge layers there.

If you have the right result, and can save as
PNG without merging visible layers, then all is good.

Does it come out OK otherwise?
Find all posts by this user
Quote this message in a reply
Mar 23, 2011, 06:30
Post: #12
RE: Embedding/Superimposing text on an image
Actually, going back and doing it the non-pixelly way you described, I was able to do it. Don't know why it didn't work when I originally tried, nor do I fully know why it worked now. But thanks.
Find all posts by this user
Quote this message in a reply
Mar 23, 2011, 19:58
Post: #13
RE: Embedding/Superimposing text on an image
You should probably get the new version of GIMP too...
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Shaped text irhino2 1 61 Nov 14, 2017 06:15
Last Post: paynekj
  How to add a magnification segment of an image to the original size image fenpeppertree 1 74 Nov 7, 2017 17:05
Last Post: paynekj
  removing unwanted portions of selected area in an image pizzipie 1 89 Nov 2, 2017 05:31
Last Post: paynekj
  Recolor image and maintain detail awesley 1 106 Oct 29, 2017 16:48
Last Post: paynekj
  XCF Thumbnail/Preview Image DailyLunatic 6 3,900 Oct 23, 2017 11:46
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS