Sign up now! · Forgot password?
RSS/Atom feed identi.ca Twitter

Combine two images

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

6 of 6 messages available
Toggle history

Please log in to manage your subscriptions.

Combine two images Jim Hall 22 Aug 21:43
  Combine two images Noel Stoutenburg 22 Aug 22:19
  Combine two images Chris Mohler 22 Aug 22:24
  Combine two images Bob Meetin 22 Aug 22:30
  Combine two images RParr 26 Aug 02:15
   Combine two images Jim Hall 27 Sep 15:57
Jim Hall
2010-08-22 21:43:22 UTC (about 4 years ago)

Combine two images

Using Gimp 2.4.7 on Debian Lenny. I am not an artist, but I occasionally need the tool.

What I need to do is "stitch" two or more images together to make a larger one. These are more like drawings than photos. Best analogy is: take 2 or 3 screenshots of an area of a city with google maps (map, not satellite view), put them together to make a single, larger one.

I have looked at the manual, but since I don't know what this procedure is called (or even if it exists), I don't know what to look for. Same for Google.

Hints of any kind appreciated.

Jim

Noel Stoutenburg
2010-08-22 22:19:55 UTC (about 4 years ago)

Combine two images

Jim Hall wrote:

... Best analogy is:
take 2 or 3 screenshots of an area of a city with google maps (map, not satellite view), put them together to make a single, larger one.

I have looked at the manual, but since I don't know what this procedure is called (or even if it exists), I don't know what to look for. Same for Google.

Hints of any kind appreciated.

OK. Here's how I'd do this. First, create the three screenshots, and save them to disk. Since it may be helpful to overlap the screenshots by a small amount, if you really want three stitched together, you may want to create four overlapping images.

Next, from the File menu, create a New image, and set the appropriate size parameter(s)--length, width, or both--to the something larger than the desired final size. In the event you want a 400 pixel wide final result, you might want to use 450, or 500 pixels.

Open the first screenshot you created in the first step above, and select all. Cut the image to the clipboard, and paste it into the file you created in step 2 as a layer. Move the layer to the appropriate place in the final image. Adjusting the transparency of the layer can make it easier to align the new layer with the original image.

For each of the remaining screenshots, open them as you did the first one in step 2, cut the contents to the clipboard, and paste them into the new image as a new layer. Move each new layer to the appropriate place in the image.

You can merge the layers after you get the various layers into the proper place, or you can wait and merge all of the layers at the same time.

When all of the layers are merged together to make the composite image, use the appropriate selection tool (rectangle, ellipse, &c), to select the part of the image you want as the final result, and crop to selection. Depending of the file format you want for the final result, you may want to flatten the image before saving the final file.

ns

Chris Mohler
2010-08-22 22:24:56 UTC (about 4 years ago)

Combine two images

On Sun, Aug 22, 2010 at 2:43 PM, Jim Hall wrote:

What I need to do is "stitch" two or more images together to make a larger one. These are more like drawings than photos. Best analogy is: take 2 or 3 screenshots of an area of a city with google maps (map, not satellite view), put them together to make a single, larger one.

Many different ways to do this, but try:

1. Open image #1 2. Go to Image -> Canvas Size. Go ahead and add more than enough room for the other images
3. File->Open as Layers, select Images #2 and #3. 4. Save as XCF
5. Select each new layer (in the layer dialog) and use the move tool to position, or other tools if you need to rotate, scale etc. 6. When done, save - then Image->Flatten Image, Image->Autocrop 7. Save as PNG or JPEG (or whatever format you need).

Hmm - I'm not sure if GIMP version 2.4 has "open as layers". If not, instead of step 3:
1. Open image #2, select all, copy, close 2. Paste into image #1
3. Click on the "new layer" icon in layers dialog (turn floating selection into new layer)
4. Repeat for image #3
The rest of the steps would be the same.

HTH, Chris

Bob Meetin
2010-08-22 22:30:45 UTC (about 4 years ago)

Combine two images

Jim Hall wrote:

Using Gimp 2.4.7 on Debian Lenny. I am not an artist, but I occasionally need the tool.

What I need to do is "stitch" two or more images together to make a larger one. These are more like drawings than photos. Best analogy is: take 2 or 3 screenshots of an area of a city with google maps (map, not satellite view), put them together to make a single, larger one.

I have looked at the manual, but since I don't know what this procedure is called (or even if it exists), I don't know what to look for. Same for Google.

Hints of any kind appreciated.

Jim

I don't know if there is a simpler way to do this, but in GIMP I would open the first image, then use the canvas tool (Image --> Canvas Size) to double the canvas size, and move the original image to the left. Then copy in the second image and drag it to the right. This is essentially what I had to do with a batch of very old 4x5 negatives and transparencies with an epson scanner that could only do a max size of 2 1/4 by 2 3/4 " at a time. I used GIMP to piece them together pixel to pixel and it worked marvelously.

If you have command line access to ImageMagick/convert, this is easy:

% convert image1.jpg image2.jpg +append -quality 85 combined_images.jpg

i.e. if I understand the need....

RParr
2010-08-26 02:15:23 UTC (about 4 years ago)

Combine two images

On 08/22/2010 12:43 PM, Jim Hall wrote:

Using Gimp 2.4.7 on Debian Lenny. I am not an artist, but I occasionally need the tool.

What I need to do is "stitch" two or more images together to make a larger one. These are more like drawings than photos. Best analogy is: take 2 or 3 screenshots of an area of a city with google maps (map, not satellite view), put them together to make a single, larger one.

I have looked at the manual, but since I don't know what this procedure is called (or even if it exists), I don't know what to look for. Same for Google.

Hints of any kind appreciated.

Jim

If what you're trying to create is side-by-side images, you might try the Gimp pandora plugin or the Hugin app which create panoramic images from a set of images.

R.Parr
Temporal Arts

Jim Hall
2010-09-27 15:57:36 UTC (about 4 years ago)

Combine two images

If what you're trying to create is side-by-side images, you might try the Gimp pandora plugin or the Hugin app which create panoramic images from a set of images.

R.Parr
Temporal Arts

Ok, been reading and practising. Both the plugins you mentioned look more photo oriented than the drawings I'm working with. Good for future reference, though.

Chris, yes my version does have "Open as Layers".

Thank you all for the tips. The project is done and handed off to the people who needed it. After I failed a few times, it worked just fine.

Jim