Post Reply 

how to stick one image on another

Oct 5, 2013, 04:51
Post: #1
how to stick one image on another
Hi,

I have 2 images : one is the image of a country.
I would like to copy paste the second image onto the image of the country and crop it so that it follows the country boundaries.
Do you see what I mean ?
once done, basically, if i took the second image alone, it would overlap exactly the image of the country
I bet there is an easy way to do that, but i'm a beginner with gimp and i have no clue how to achieve that.
Any help would be greatly appreciated.

Thanks !
Find all posts by this user
Quote this message in a reply
Oct 6, 2013, 05:40 (This post was last modified: Oct 6, 2013 05:41 by iForStyle007.)
Post: #2
RE: how to stick one image on another
Ok, here's how I would do it, you'll want to familiarize yourself with layer masks (very fun once you learn it and very flexible)

Layer Mask: selection Redux
1. First make a selection around your country that you want the 2nd image to be cropped in.
2. Then in the layers window, drag the 2nd image on the top of the country layer(your selection should still be active)
3. Right click the 2nd image layer (in the layers dialogue window) & click "add layer mask"
- choose "selection" click ok
4. Choose the eraser tool and erase the middle of the country you want the 2nd image in, from the center outward to the borders of that country.

To adjust the image, you'll see two squares on the "2nd image" layer, click the one that isn't selected(left box), then move it with the move tool & scale/resize if you need to.

There you go, I made a tutorial with a similar use of the layer mask in this thread:
http://gimpforums.com/thread-best-tutori...9#pid20899

Below rich's post, on his post, note the Layers window on the right side, the top layer(pasted layer in his image) is how your "2nd image" layer should look like after adding a layer mask. Make sure you click/highlight the black box part before you erase.

Let me know if you need help with this process (post your results if possible)

"In order to succeed, your desire for success should be greater than fear of failure." BC
[Image: 29uocaf.png]
iFS007 tut vids on YT ~ auto color B&W landscape tut
Visit this user's website Find all posts by this user
Quote this message in a reply
Oct 10, 2013, 10:51
Post: #3
RE: how to stick one image on another
Hi iForStyle007 !

Thanks for the detailed answer.
I was trying to do as you advised, but it doesnt work well yet.

For some reason, at step 2, when I drag the 2nd image, it shows in black and white, whereas that 2nd image has colors.
Any clues why ? I tried to play with the different options, I couldnt get it in colors.

Then I did steps 3 and 4, it works the way I wanted :-)
But then I don't understand after step 4 how you isolate that new image you made with the country shape.
Can you advise how I can copy paste the new image into a new file ?
(asked that way, I know it sounds like I can't use a computer, but I find GIMP not easy to use for a complete beginner)

Thanks !

(Oct 6, 2013 05:40)iForStyle007 Wrote:  Ok, here's how I would do it, you'll want to familiarize yourself with layer masks (very fun once you learn it and very flexible)

Layer Mask: selection Redux
1. First make a selection around your country that you want the 2nd image to be cropped in.
2. Then in the layers window, drag the 2nd image on the top of the country layer(your selection should still be active)
3. Right click the 2nd image layer (in the layers dialogue window) & click "add layer mask"
- choose "selection" click ok
4. Choose the eraser tool and erase the middle of the country you want the 2nd image in, from the center outward to the borders of that country.

To adjust the image, you'll see two squares on the "2nd image" layer, click the one that isn't selected(left box), then move it with the move tool & scale/resize if you need to.

There you go, I made a tutorial with a similar use of the layer mask in this thread:
http://gimpforums.com/thread-best-tutori...9#pid20899

Below rich's post, on his post, note the Layers window on the right side, the top layer(pasted layer in his image) is how your "2nd image" layer should look like after adding a layer mask. Make sure you click/highlight the black box part before you erase.

Let me know if you need help with this process (post your results if possible)
Find all posts by this user
Quote this message in a reply
Oct 12, 2013, 07:42 (This post was last modified: Oct 12, 2013 07:44 by iForStyle007.)
Post: #4
RE: how to stick one image on another
(Oct 10, 2013 10:51)harvey56 Wrote:  For some reason, at step 2, when I drag the 2nd image, it shows in black and white, whereas that 2nd image has colors.

Any clues why ? I tried to play with the different options, I couldnt get it in colors.

Did you import both photos as layers into gimp?
Before you create the custom selection make sure:
-The "countries" layer should be on the top layer(in the layers window dialogue box) and the layer highlighted/picked, before you make the selection(using fuzzy select or paths tool). If you can, please attach a screenshot of what the issue is(black & white instead of color showing...)
You can click points with the fuzzy select tool too.

Quote:Then I did steps 3 and 4, it works the way I wanted :-)
But then I don't understand after step 4 how you isolate that new image you made with the country shape.
...
Thanks !

Please look at the whole thread linked below to learn/see/understand more how to use the layer mask
I linked it earlier did you see it(very relevant to understanding what it looks like/how it works)? (First look at the post linked, then my post directly underneath it and look over the whole thread.)

LINK: http://gimpforums.com/thread-best-tutori...9#pid20899
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
  delete image benhur 0 32 Yesterday 05:11
Last Post: benhur
  Change Print screen Image Settings dddemauro26 1 211 Sep 24, 2018 08:48
Last Post: paynekj
  Error Message "¬†gimp-image-set-resolution¬†" quand 2 275 Sep 8, 2018 19:35
Last Post: quand
Exclamation URGENT! How do I restore layers or a previously saved version of a saved xcf image? Txsweetcheeks1981 3 4,379 Aug 24, 2018 14:15
Last Post: paynekj
  How do I save a image into a press quality PDF? Komodo 1 117 Aug 23, 2018 15:02
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS