It is currently Mon Nov 09, 2026 6:11 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Moving layers
PostPosted: Mon Jul 31, 2017 11:21 am  (#1) 
Offline
GimpChat Member

Joined: Jul 31, 2017
Posts: 15
GIMP Version: 2.8.14
Operating System: Windows
GIMP Experience: New User



Hi everyone. First time user (groan). I've got an image of a politician and superimposed an image of a beret as a layer which I've resised (see file "gimp problem zero"). I now want to move it onto his head. I use the move tool. However when I move it outside of the rectangle in which the image sits, it disappears (as displayed in "gimp problem one"). I don't want to increase the image size, because I need the beret to be above it. But I don't even know what to call the rectangle in which the image sits and outside of which everything disappears.

Please help

SF


Attachments:
GIMP problem one.PNG
GIMP problem one.PNG [ 146.55 KiB | Viewed 6028 times ]
GIMP problem zero.PNG
GIMP problem zero.PNG [ 136.55 KiB | Viewed 6028 times ]
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: Moving layers
PostPosted: Mon Jul 31, 2017 12:03 pm  (#2) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 14266
Location: Native to NYC living in Arizona, Gimp 2.8 - 3.0, Win 11 PC.
Add an Alpha Channel to the politician's layer.
Then Increase the politician's layer size.

You can do this by,
Right Clicking on the politician layer and go to.
Layer > Transparency > Add Alpha Channel

Once the Alpha Channel is added.
Right Clicking again on the politician's layer and go to,
Layer > Layer Boundary Size,
and make the politician's layer boundary size larger in height and click Resize.

Next be sure to go to,
Image> Fit Canvas to Layer.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Moving layers
PostPosted: Mon Jul 31, 2017 12:39 pm  (#3) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2629
What did the poor beret do to deserve that?

However, first thing I see is the 'beret image' does not have transparency. There is a checker background so it will have had one once, but not now.

First thing to do is cut out that background. Nothing clever. Make sure the image has transparency, Layer -> Transparency -> Add Alpha Channel then maybe go round with the eraser tool. Once finished save as a Gimp xcf file.(or export as a png) anything else and you lose transparency.

Now open the main image, and for the beret File -> Open-as-layers the beret image.

Enable the move tool, set the 'move active layer' option. Click on the beret and move into position.

Image

edit: OK I see the problem with (1) You have the 'politician' image planted on a larger background.
Make sure the politician layer is selected. Then [i]Layer -> Layer to Image Size[/i}


Top
 Post subject: Re: Moving layers
PostPosted: Mon Jul 31, 2017 3:41 pm  (#4) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
You should extract the beret from a picture of someone wearing it. A beret is something very soft, it takes the shape of the head.

In modern France (post 1950...) the beret is worn by, in that order: ladies (fashion accessory), hipsters, and people who think they live in 1950 (like Jean Lassalle, candidate for president in 2017). And "sacrebleu", well, it wasn't even used in black and white movies.

_________________
Image


Top
 Post subject: Re: Moving layers
PostPosted: Tue Aug 01, 2017 6:59 am  (#5) 
Offline
GimpChat Member

Joined: Jul 31, 2017
Posts: 15
Thanks very much for taking the time to respond, appreciate it


Top
 Post subject: Re: Moving layers
PostPosted: Tue Aug 01, 2017 7:02 am  (#6) 
Offline
GimpChat Member

Joined: Jul 31, 2017
Posts: 15
Hi, I'm well aware of that. It's a comment on an interview given by Hammond(e) in Le Monde. So the stereotypical British ideas of French identity are there to illustrate the oddity of having to translate an English interview by Hammond, of which the only transcript is a French translation, back into French. Mille Sabords.

By the way "Sacrebleu" is the name of a brilliant album by French DJ Dimitri From Paris, who is not from Paris at all but from Istanbul


Top
 Post subject: Re: Moving layers
PostPosted: Tue Aug 01, 2017 7:10 am  (#7) 
Offline
GimpChat Member

Joined: Jul 31, 2017
Posts: 15
rich2005 wrote:
What did the poor beret do to deserve that?

However, first thing I see is the 'beret image' does not have transparency. There is a checker background so it will have had one once, but not now.

First thing to do is cut out that background. Nothing clever. Make sure the image has transparency, Layer -> Transparency -> Add Alpha Channel then maybe go round with the eraser tool. Once finished save as a Gimp xcf file.(or export as a png) anything else and you lose transparency.

Now open the main image, and for the beret File -> Open-as-layers the beret image.

Enable the move tool, set the 'move active layer' option. Click on the beret and move into position.



edit: OK I see the problem with (1) You have the 'politician' image planted on a larger background.
Make sure the politician layer is selected. Then [i]Layer -> Layer to Image Size[/i}


Thank you so much! I right clicked and tried to add alpha transparency, but the only available option was remove alpha transparency, so it is already alpha transparent. As you can see from the attached image I've managed to use the scissor tools to cut the beret out. When I try with the eraser nothing happens. I rub the eraser around the beret and there is no visible change. So what would be good is to be able to move the selected or cut out beret. I've tried alt shift and arrow keys, I've tried dragging with the mouse. Any number of crazy things happen, including the selection lines moving and the beret staying put, or vice versa. Do you have a simple instruction just to move the selected beret onto the dumb politician's head? Thanks a million, SF


Attachments:
Beret cut out.PNG
Beret cut out.PNG [ 339.74 KiB | Viewed 5942 times ]
Top
 Post subject: Re: Moving layers
PostPosted: Tue Aug 01, 2017 11:39 am  (#8) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2629
Quote:
...Do you have a simple instruction just to move the selected beret onto the dumb politician's head? ...


Just the same as before. For this type of beginner question, it really is best if you give full screenshots of the Gimp interface. The tool options and layers dialogues often give clues as to what is happening.

example for moving a layer

Image

1. make the layer active
2. Use the move tool
3. To prevent moving the base layer, enable move active layer

Now click-and-drag on the canvas.

Quote:
...When I try with the eraser nothing happens. I rub the eraser around the beret and there is no visible change..


I suggested using the eraser tool as a simple method, for a simple shape, for a beginner.

However since you made a selection the eraser tool (any paint tool) does not work outside the selection.

With the selection active, as your screenshot, invert the selection then cut the selection, then turn the selection off. Then move around as earlier.


As an example, to practice moving layers, something like your image, an xcf file attached.


Attachments:
beret-no-transparency.xcf [543.38 KiB]
Downloaded 221 times
Top
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group