I have two jpeg images that I can arrange to have the same height. I want to combine then into a single image of the two, side by side. I cannot seem to find a way to do this in GIMP.
Any ideas?
Cheers
Ian
Hi,
On 6 May 2010 21:54, Ian Thompson-Bell ianbell@ukfsn.org wrote:
I have two jpeg images that I can arrange to have the same height. I want to combine then into a single image of the two, side by side. I cannot seem to find a way to do this in GIMP.
Any ideas?
Roughly:
open one image. extend canvas to w*2 x h open the other image. select all. copy. paste into first image, move selection to place at the right location.
save.
Something like this. Did that about a year ago and worked. Hope that helps.
Srdjan
On 06/05/10 22:01, Srdjan Todorovic wrote:
Hi,
On 6 May 2010 21:54, Ian Thompson-Bellianbell@ukfsn.org wrote:
I have two jpeg images that I can arrange to have the same height. I want to combine then into a single image of the two, side by side. I cannot seem to find a way to do this in GIMP.
Any ideas?
Roughly:
open one image. extend canvas to w*2 x h open the other image. select all. copy. paste into first image, move selection to place at the right location.
save.
Something like this. Did that about a year ago and worked. Hope that helps.
Srdjan
Yes, I tried that but after extending the canvas you get the chequerboard area in the 'spare' bit and when you paste and move the second image in it disappears behind the chequerboard - so I am on the right lines but doing something wrong.
Thanks for your help.
Cheers
ian
On 06-May-10 22:12:02, Ian Thompson-Bell wrote:
On 06/05/10 22:01, Srdjan Todorovic wrote:
Hi, On 6 May 2010 21:54, Ian Thompson-Bellianbell@ukfsn.org wrote:
I have two jpeg images that I can arrange to have the same height. I want to combine then into a single image of the two, side by side. I cannot seem to find a way to do this in GIMP.
Any ideas?
Roughly:
open one image. extend canvas to w*2 x h open the other image. select all. copy. paste into first image, move selection to place at the right location.
save.
Something like this. Did that about a year ago and worked. Hope that helps.
Srdjan ______________________________
Yes, I tried that but after extending the canvas you get the chequerboard area in the 'spare' bit and when you paste and move the second image in it disappears behind the chequerboard - so I am on the right lines but doing something wrong.
Thanks for your help. Cheers ian
If it's not absolutely essential to use the GIMP, you could try the 'montage' program from the ImageMagick suite. See:
man montage
(assuming you have ImageMagick installed, as one typically has by default). This is straightfoward to use, and does not at all depend on dexterity with the mouse!
Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding) Ted.Harding@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 06-May-10 Time: 23:31:13 ------------------------------ XFMail ------------------------------
[See at end]
On 06-May-10 22:31:16, Ted Harding wrote:
On 06-May-10 22:12:02, Ian Thompson-Bell wrote:
On 06/05/10 22:01, Srdjan Todorovic wrote:
Hi, On 6 May 2010 21:54, Ian Thompson-Bellianbell@ukfsn.org wrote:
I have two jpeg images that I can arrange to have the same height. I want to combine then into a single image of the two, side by side. I cannot seem to find a way to do this in GIMP.
Any ideas?
Roughly:
open one image. extend canvas to w*2 x h open the other image. select all. copy. paste into first image, move selection to place at the right location.
save.
Something like this. Did that about a year ago and worked. Hope that helps.
Srdjan ______________________________
Yes, I tried that but after extending the canvas you get the chequerboard area in the 'spare' bit and when you paste and move the second image in it disappears behind the chequerboard - so I am on the right lines but doing something wrong.
Thanks for your help. Cheers ian
If it's not absolutely essential to use the GIMP, you could try the 'montage' program from the ImageMagick suite. See:
man montage
(assuming you have ImageMagick installed, as one typically has by default). This is straightfoward to use, and does not at all depend on dexterity with the mouse!
Ted.
I should have added an example. Assuming (as you say) that both images (say image1.jpg and image2.jpg) have equal heights:
montage -tile 2x1 image1.jpg image2.jpg -geometry +0+0 compo.jpg
You may find a slight gap between the two images in the resulting file compo.jpg. In that case, experiment with the "-geometry" on the lines of:
montage -tile 2x1 image1.jpg image2.jpg -geometry -1+0 compo.jpg
(or "-geometry -2+0", or whatever it takes).
Hoping this helps, Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding) Ted.Harding@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 07-May-10 Time: 00:31:21 ------------------------------ XFMail ------------------------------
On 06/05/10 23:31, (Ted Harding) wrote:
On 06-May-10 22:12:02, Ian Thompson-Bell wrote:
On 06/05/10 22:01, Srdjan Todorovic wrote:
Hi, On 6 May 2010 21:54, Ian Thompson-Bellianbell@ukfsn.org wrote:
I have two jpeg images that I can arrange to have the same height. I want to combine then into a single image of the two, side by side. I cannot seem to find a way to do this in GIMP.
Any ideas?
Roughly:
open one image. extend canvas to w*2 x h open the other image. select all. copy. paste into first image, move selection to place at the right location. save.
Something like this. Did that about a year ago and worked. Hope that helps.
Srdjan ______________________________
Yes, I tried that but after extending the canvas you get the chequerboard area in the 'spare' bit and when you paste and move the second image in it disappears behind the chequerboard - so I am on the right lines but doing something wrong.
Thanks for your help. Cheers ian
If it's not absolutely essential to use the GIMP, you could try the 'montage' program from the ImageMagick suite. See:
man montage
(assuming you have ImageMagick installed, as one typically has by default). This is straightfoward to use, and does not at all depend on dexterity with the mouse!
Ted.
Thanks Ted for the example. It works a treat. I am a very occasional graphics user and it still astonishes me how simple things are so difficult to achieve in a GUI app. I only use GIMP because I know no better.
Cheers
Ian
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ian Thompson-Bell wrote:
On 06/05/10 22:01, Srdjan Todorovic wrote:
Hi,
On 6 May 2010 21:54, Ian Thompson-Bellianbell@ukfsn.org wrote:
I have two jpeg images that I can arrange to have the same height. I want to combine then into a single image of the two, side by side. I cannot seem to find a way to do this in GIMP.
Any ideas?
Roughly:
open one image. extend canvas to w*2 x h open the other image. select all. copy. paste into first image, move selection to place at the right location.
Yes, I tried that but after extending the canvas you get the chequerboard area in the 'spare' bit and when you paste and move the second image in it disappears behind the chequerboard - so I am on the right lines but doing something wrong.
Once you've increased your canvas size, you need to select "Image/Flatten Image" in order to drop the first image (which has now become a layer) on to the canvas. In doing so, you should see the "spare" background change from chequerboard to your default bg colour (normally white). The whole image then becomes available to paste your copied image2 in to.
Simon
- -- - --------------------------------------------------------------------- Simon Ransome http://nosher.net
Photography RSS feed - http://nosher.net/images/images.rss
On 7 May 2010 09:37, simon ransome simon@nosher.net wrote:
Ian Thompson-Bell wrote:
Yes, I tried that but after extending the canvas you get the chequerboard area in the 'spare' bit and when you paste and move the second image in it disappears behind the chequerboard - so I am on the right lines but doing something wrong.
Once you've increased your canvas size, you need to select "Image/Flatten Image" in order to drop the first image (which has now become a layer) on to the canvas. In doing so, you should see the "spare" background change from chequerboard to your default bg colour (normally white). The whole image then becomes available to paste your copied image2 in to.
Yes. As above or as an alternative, work with two layers and when you have positioned it right, flatten and save. Ctrl-L I believe for layer dialog. (You can see both layers at the same time if you like)
Srdjan
On 07/05/10 09:37, simon ransome wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ian Thompson-Bell wrote:
On 06/05/10 22:01, Srdjan Todorovic wrote:
Hi,
On 6 May 2010 21:54, Ian Thompson-Bellianbell@ukfsn.org wrote:
I have two jpeg images that I can arrange to have the same height. I want to combine then into a single image of the two, side by side. I cannot seem to find a way to do this in GIMP.
Any ideas?
Roughly:
open one image. extend canvas to w*2 x h open the other image. select all. copy. paste into first image, move selection to place at the right location.
Yes, I tried that but after extending the canvas you get the chequerboard area in the 'spare' bit and when you paste and move the second image in it disappears behind the chequerboard - so I am on the right lines but doing something wrong.
Once you've increased your canvas size, you need to select "Image/Flatten Image" in order to drop the first image (which has now become a layer) on to the canvas. In doing so, you should see the "spare" background change from chequerboard to your default bg colour (normally white). The whole image then becomes available to paste your copied image2 in to.
Simon
Thanks Simon, that is a definite improvement. The only problem I have now is getting the two images side by side. If I use paste it places the second image in the centre of the enlarged on, so I selected a rectangular region and used paste into and that got it on the right side but there is a gap between the images and I cannot seem to easily move the second one once it has been pasted.
Cheers
Ian
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ian Thompson-Bell wrote:
Thanks Simon, that is a definite improvement. The only problem I have now is getting the two images side by side. If I use paste it places the second image in the centre of the enlarged on, so I selected a rectangular region and used paste into and that got it on the right side but there is a gap between the images and I cannot seem to easily move the second one once it has been pasted.
As soon as it's pasted you can either use the cursor keys to move it around 1 pixel at a time, or shift+cursor to move in bigger steps, or select the "move" cursor (which it should have defaulted to once you'd pasted) which is a four-way pointer icon in the toolbox - with this you can just click'n'drag the pasted image around, and then perhaps use cursors at the end for fine adjustments.
Hth,
Simon
- -- - --------------------------------------------------------------------- Simon Ransome http://nosher.net
Photography RSS feed - http://nosher.net/images/images.rss
On 07/05/10 10:26, simon ransome wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ian Thompson-Bell wrote:
Thanks Simon, that is a definite improvement. The only problem I have now is getting the two images side by side. If I use paste it places the second image in the centre of the enlarged on, so I selected a rectangular region and used paste into and that got it on the right side but there is a gap between the images and I cannot seem to easily move the second one once it has been pasted.
As soon as it's pasted you can either use the cursor keys to move it around 1 pixel at a time, or shift+cursor to move in bigger steps, or select the "move" cursor (which it should have defaulted to once you'd pasted) which is a four-way pointer icon in the toolbox - with this you can just click'n'drag the pasted image around, and then perhaps use cursors at the end for fine adjustments.
Hth,
Simon
When pasted the cursor keys have no effect but selecting tools/transform/move does bring up the move cursor and I can position the second image. Many thanks.
So now I have two ways of doing it.
Cheers
Ian
Ian Thompson-Bell wrote:
Yes, I tried that but after extending the canvas you get the chequerboard area in the 'spare' bit and when you paste and move the second image in it disappears behind the chequerboard - so I am on the right lines but doing something wrong.
This works (Gimp 2.6.7): From the menubar select Image -> Canvas Size, in the dialog window click on the chainlink icon (to unlink the dimensions), double the value in the width box, then in the Layers section at the bottom choose "All Layers". Copy your image, paste it, then use the Move Tool to move it into place.
I can reproduce the behaviour you describe by not choosing "All Layers" during the resize.
But Ted's montage solution sounds like the way to go.
-- Martijn
Ian Thompson-Bell wrote:
I have two jpeg images that I can arrange to have the same height. I want to combine then into a single image of the two, side by side. I cannot seem to find a way to do this in GIMP.
Any ideas?
Cheers
Ian
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
I don't like GIMP, but I'd presume you can
1) Make a new (blank) jpeg twice (or slightly over) the width of your subjects and the same height.
2) With the clone tool, on a wide brush, clone one jpeg onto one side, and the other jpeg beside it.