It is currently Tue Sep 22, 2026 12:17 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: need help here,newbie
PostPosted: Fri May 27, 2011 11:51 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: May 27, 2011
Posts: 707
GIMP Version: 2.6.11
Operating System: Windows
OS Version: XP - SP3
GIMP Experience: Beginner Level



how do i add the bird in aImage cage?i don't see how a mask would help in this instance.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: need help here,newbie
PostPosted: Fri May 27, 2011 11:57 pm  (#2) 
Offline
GimpChat Member

Joined: Apr 11, 2010
Posts: 545
Location: In the mini-chat, saying silly things
Pirate has been trying this tutorial http://youtu.be/ZaMdzX7-dVE.
I think that's the best approach in this case too. But if anyone has a better idea...

You need to erase over the bird where the cage would be visible if the bird was in it.

_________________
Image


Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 12:00 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 27, 2011
Posts: 707
Thank you ,i will follow your link :)
I will let you know(tomorrow) how I did,because i am going to bed now
Goodnight and thank You again


Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 1:23 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Apr 09, 2011
Posts: 1764
I had a crack at this...my result...hope I can absorb it.


Attachments:
lorikeetincage.jpeg
lorikeetincage.jpeg [ 55.38 KiB | Viewed 3095 times ]
Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 2:54 am  (#5) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
Looked like a good place for some parrots :)

Image.

_________________
Image


Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 3:27 am  (#6) 
Offline
GimpChat Member

Joined: Apr 11, 2010
Posts: 545
Location: In the mini-chat, saying silly things
He wants to learn how to do it though, because he's new to gimp. We had a few posts about it on youtube but it's hard to communicate properly there so I pointed him here hoping that you guys could help out. :) It might be nice if you told him how you did it.

_________________
Image


Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 4:16 am  (#7) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
Open each of your images in layers bird/s and cage.
Place the bird layer on top.
Make the cage layer invisible (click the eye next to the layer)
Give each layer a alpha channel right click each layer add alpha channel.
Make sure white is your foreground color.
Select the bird layer
What i did was using the fuzzy eraser at a low opacity say 45.Erase around the bird image until you have a pretty good layer with just the bird.(take your time) - unless you know how to render with the paths tool.
Now make the cage layer visible again (click the eye again)
Now place the bird wherever you want it in the cage.
Locate all the bars that should be in FRONT of the bird/s - We need to paint in the bars in front of them.
Using the pencil tool (set to the width of your cage bars), and the shift key (for straight white lines) from the top to the bottom click the top of the bar (left mouse button) - release the button - press the shift key and drag your mouse pointer where the line ends.If you hold ctrl key too, you get perfect 15% angle lines. (straight up and down)
Of course that means your cage image better be perfectly up and down or it will be off. Which i found it was.So i didn't use the ctrl key just the shift key.
Keep doing the bars until they are all in front of the bird

That's it :)

_________________
Image


Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 7:55 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: May 27, 2011
Posts: 707
Rod,Thank You,and Thank You Jolie for helping
I will try it today,hopefully my morning coffee will help :)


Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 10:59 am  (#9) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
pirate541 wrote:
GIMP Version: 2.6.11
Operating System: Windows
OS Version: XP - SP3
GIMP Experience: Beginner Level



how do i add the bird in a cage?i don't see how a mask would help in this instance.

Yes, a masks helps a lot... because you have to make transparent all that background between the bars.

I'll assume you have a nicely cut out bird (ie, bird surrounded by transparency). Otherwise, you'll find plenty of tutorials for that.

What we will be doing is stack:
- cage image in the bac,
- the bird
- the bars of the cage that should appear in the front

At that point the first two are already done. So, to get the front bars and remove the rest, we will take advantage of the fact that the cage is an almost perfect white and that's the only white thing... so:

- duplicate the cage layer, and move the duplicate to the top
- Layer/Transparency/Add layer mask, and initialize the mask with the grayscale copy of the layer.
- At that point you are already in layer edition mode
- Colors/Threshold and use a high threshold (looking at the histogram, you'll see that you can pick any value between 175 and 240). This make everything in the image disappear, except
the cage bars.
- Apply the layer mask
- The delicate part of the process: you have to remove in that layer the bars in the back that should be hidden by the bird.
- To make sure you erase only where necessary, make a selection on the bird: select the bird layer, and Layer/Transparency/Alpha to selection
- Remove the bars in the back from the top layer with the eraser, that will act only within the bird shape.

Done.
Attachment:
birdcage.xcf [2.06 MiB]
Downloaded 107 times

_________________
Image


Last edited by ofnuts on Sat May 28, 2011 7:40 pm, edited 2 times in total.

Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 11:17 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Apr 18, 2011
Posts: 620
Location: New York
I'd just like to point out that one of the advantages of creating a mask (selection or path) of the front of the cage is that you can then move the bird layer around until it's placed exactly where you wish it. (ie, you aren't locked into only one position)

and if this was an animation where there was movement that would really be the best way to do this.

_________________
Ubuntu 24.04.1, Kernel i686, 6.8.0-52-generic
python3 v3.12.3 ----- GIMP - ver 2.10.38


Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 11:41 am  (#11) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
cecilia wrote:
I'd just like to point out that one of the advantages of creating a mask (selection or path) of the front of the cage is that you can then move the bird layer around until it's placed exactly where you wish it. (ie, you aren't locked into only one position)

and if this was an animation where there was movement that would really be the best way to do this.
Bird? What bird?


Attachments:
lylejcage.jpg
lylejcage.jpg [ 74.02 KiB | Viewed 1593 times ]

_________________
Image
Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 11:46 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12845
Got your PM; lol

Already accused of loosing my marbles (another forum then here), so why not my head too. ;)

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 11:54 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
that is so funny..... Is that really you Lyle? Good job ofnuts.....

_________________
Image


Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 12:13 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12845
Yeah; that's really me Molly. lol

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 1:06 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
You remind me of Sir Elton John with the crazy glasses. woo hoo.

_________________
Image


Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 2:55 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12845
Just wish I had 10% of his dough Molly. lol

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 3:36 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
me too, and his talent....

_________________
Image


Top
 Post subject: Re: need help here,newbie
PostPosted: Sat May 28, 2011 5:24 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: May 27, 2011
Posts: 707
THANK YOU ALL SOOOO MUCH!!!
YOU ARE THE BEST (FUNNY TOO)


Top
 Post subject: Re: need help here,newbie
PostPosted: Sun May 29, 2011 8:39 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: May 27, 2011
Posts: 707
HI y'all
thank you for your help,it took me patience and God knows i don't have much of it,but i did it.now if i can find out how to attach my result,i will gladly post it


Top
 Post subject: Re: need help here,newbie
PostPosted: Sun May 29, 2011 8:56 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
Lyle wanna cracker? LOL!

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group