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

Stitching Photos

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.

7 of 7 messages available
Toggle history

Please log in to manage your subscriptions.

Stitching Photos DERoss 04 May 02:11
  Stitching Photos Steve Kinney 04 May 18:14
   Stitching Photos Dave Stevens 04 May 21:16
   Stitching Photos Gothmog 11 Jul 00:09
  Stitching Photos Casey Connor 04 May 18:20
  Stitching Photos Ofnuts 05 May 00:39
   Stitching Photos bradburymars 21 Sep 00:46
DERoss
2017-05-04 02:11:16 UTC (over 2 years ago)

Stitching Photos

I have two JPEG files, each with a photo. I want to creat a single file that has the photos stitched together side-by-side. While I know how to export an image from GIMP into a JPEG file, I cannot figure out how to stitch two images together. How do I do this? Better, where in the user documentation is this described?

Steve Kinney
2017-05-04 18:14:34 UTC (over 2 years ago)

Stitching Photos

On 05/03/2017 10:11 PM, DERoss wrote:

I have two JPEG files, each with a photo. I want to creat a single file that has the photos stitched together side-by-side. While I know how to export an image from GIMP into a JPEG file, I cannot figure out how to stitch two images together. How do I do this? Better, where in the user documentation is this described?

There are automated tools to facilitate this, but I have not used them.

The manual process is not terribly complicated.

First, open one of the photos in the GIMP, then import the second photo as a layer. Drag and drop the second image to the image canvas, quick & easy.

Next, do Image > Canvas size, and make the 'workspace' available big enough to accommodate both photos side by side, with some room left over to move them around.

Then align the photos so their edges fit together accurately. How to do this depends on the individual photos; some rotation and scaling (in that order) of the layer you are moving around may be required to make them match, and maybe a little tweaking with the Perspective tool, which enables one to arbitrarily stretch a layer by repositioning its corners.

Note that when using the Rotate tool, you can move the center of rotation by dragging the cross hair icon in the middle of the grid to wherever you want it. Making one detail near the top or bottom edge of your upper layer match the lower one exactly, and putting the center of rotation there, will save a lot of time and effort.

Adjusting the transparency of the upper layer to about 50% will greatly assist in lining it up with the base layer. When your alignment, rotation, scaling etc. are

Once the two photos / layers are aligned and look right, "save" your work as XCF, then save it again with a new name, i.e. add "-1" or something to the name. This is so you can go back and tweak your first effort if and as needed.

To make a seamless transition from one image to another, it may be helpful to add a layer mask to the upper image and use a very soft edged brush (or the gradient tool) on the mask to fade the edge of the upper image out a little.

Finally, crop the aligned photos to square up their edges, make any necessary color, light, etc. adjustments, save that result as XCF and export the image to your format of choice as a finished product.

Functions you may want to look up, if any are unfamiliar: The Move tool, Scale tool, Rotate tool, Perspective tool, layer opacity adjustment, Crop tool.

I have made panoramas this way, and it worked out quite nicely. I cheated, though, by taking the original pictures with a camera on a tripod, which make the assembly /way/ easier than hand held results permit.

:o)

Casey Connor
2017-05-04 18:20:54 UTC (over 2 years ago)

Stitching Photos

By 'stitch' I assume you mean 'combine in a relatively nuanced way', as opposed to simply laying one image down next to the other...

The other reply explained the basics in GIMP. If you do this kind of thing with any regularity, though, I'd recommend looking in to Hugin, which is an amazing (and free/open source) tool for just this kind of work.

It's not obvious how to use it, though, so definitely read/watch some tutorials before jumping in.

-c

On 05/03/2017 07:11 PM, DERoss wrote:

I have two JPEG files, each with a photo. I want to creat a single file that has the photos stitched together side-by-side. While I know how to export an image from GIMP into a JPEG file, I cannot figure out how to stitch two images together. How do I do this? Better, where in the user documentation is this described? _______________________________________________ gimp-user-list mailing list
List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list

Dave Stevens
2017-05-04 21:16:00 UTC (over 2 years ago)

Stitching Photos

On Thu, 4 May 2017 14:14:34 -0400 Steve Kinney wrote:

On 05/03/2017 10:11 PM, DERoss wrote:

I have two JPEG files, each with a photo. I want to creat a single file that has the photos stitched together side-by-side. While I know how to export an image from GIMP into a JPEG file, I cannot figure out how to stitch two images together. How do I do this? Better, where in the user documentation is this described?

use hugin, it's specifically for this purpose.

d

There are automated tools to facilitate this, but I have not used them.

The manual process is not terribly complicated.

First, open one of the photos in the GIMP, then import the second photo as a layer. Drag and drop the second image to the image canvas, quick & easy.

Next, do Image > Canvas size, and make the 'workspace' available big enough to accommodate both photos side by side, with some room left over to move them around.

Then align the photos so their edges fit together accurately. How to do this depends on the individual photos; some rotation and scaling (in that order) of the layer you are moving around may be required to make them match, and maybe a little tweaking with the Perspective tool, which enables one to arbitrarily stretch a layer by repositioning its corners.

Note that when using the Rotate tool, you can move the center of rotation by dragging the cross hair icon in the middle of the grid to wherever you want it. Making one detail near the top or bottom edge of your upper layer match the lower one exactly, and putting the center of rotation there, will save a lot of time and effort.

Adjusting the transparency of the upper layer to about 50% will greatly assist in lining it up with the base layer. When your alignment, rotation, scaling etc. are

Once the two photos / layers are aligned and look right, "save" your work as XCF, then save it again with a new name, i.e. add "-1" or something to the name. This is so you can go back and tweak your first effort if and as needed.

To make a seamless transition from one image to another, it may be helpful to add a layer mask to the upper image and use a very soft edged brush (or the gradient tool) on the mask to fade the edge of the upper image out a little.

Finally, crop the aligned photos to square up their edges, make any necessary color, light, etc. adjustments, save that result as XCF and export the image to your format of choice as a finished product.

Functions you may want to look up, if any are unfamiliar: The Move tool, Scale tool, Rotate tool, Perspective tool, layer opacity adjustment, Crop tool.

I have made panoramas this way, and it worked out quite nicely. I cheated, though, by taking the original pictures with a camera on a tripod, which make the assembly /way/ easier than hand held results permit.

:o)

_______________________________________________ gimp-user-list mailing list
List address: gimp-user-list@gnome.org List membership:
https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list

In modern fantasy (literary or governmental), killing people is the
usual solution to the so-called war between good and evil. My books are
not conceived in terms of such a war, and offer no simple answers to
simplistic questions.

----- Ursula Le Guin
Ofnuts
2017-05-05 00:39:54 UTC (over 2 years ago)

Stitching Photos

On 04/05/17 04:11, DERoss wrote:

I have two JPEG files, each with a photo. I want to creat a single file that has the photos stitched together side-by-side. While I know how to export an image from GIMP into a JPEG file, I cannot figure out how to stitch two images together. How do I do this? Better, where in the user documentation is this described? _______________________________________________

Use Hugin. Stitching pictures properly requires distortions (projections due to the rotation of you lens around a vertical axis). Hugin knows how to do that, not Gimp.

2019-07-11 00:09:51 UTC (5 months ago)
postings
1
contact
Send private message

Stitching Photos

I can't seem to make this work; I don't see any option for enlarging the workspace. I can enlarge the canvas as much as I want, but this doesn't change the size of the "window" through which my content is visible. As I paste in the second image and slide it over--in this case to the right, it disappears. It's almost like the second image is sliding under the blank background that was created when I enlarged the canvas.

There are automated tools to facilitate this, but I have not used them.

The manual process is not terribly complicated.

First, open one of the photos in the GIMP, then import the second photo
as a layer. Drag and drop the second image to the image canvas, quick &
easy.

Next, do Image > Canvas size, and make the 'workspace' available big enough to accommodate both photos side by side, with some room left over
to move them around.

Then align the photos so their edges fit together accurately. How to do
this depends on the individual photos; some rotation and scaling (in that order) of the layer you are moving around may be required to make them match, and maybe a little tweaking with the Perspective tool, which
enables one to arbitrarily stretch a layer by repositioning its corners.

Note that when using the Rotate tool, you can move the center of rotation by dragging the cross hair icon in the middle of the grid to wherever you want it. Making one detail near the top or bottom edge of
your upper layer match the lower one exactly, and putting the center of
rotation there, will save a lot of time and effort.

Adjusting the transparency of the upper layer to about 50% will greatly
assist in lining it up with the base layer. When your alignment, rotation, scaling etc. are

Once the two photos / layers are aligned and look right, "save" your work as XCF, then save it again with a new name, i.e. add "-1" or something to the name. This is so you can go back and tweak your first
effort if and as needed.

To make a seamless transition from one image to another, it may be helpful to add a layer mask to the upper image and use a very soft edged
brush (or the gradient tool) on the mask to fade the edge of the upper image out a little.

Finally, crop the aligned photos to square up their edges, make any necessary color, light, etc. adjustments, save that result as XCF and export the image to your format of choice as a finished product.

Functions you may want to look up, if any are unfamiliar: The Move tool, Scale tool, Rotate tool, Perspective tool, layer opacity adjustment, Crop tool.

I have made panoramas this way, and it worked out quite nicely. I cheated, though, by taking the original pictures with a camera on a tripod, which make the assembly /way/ easier than hand held results permit.

:o)

2019-09-21 00:46:03 UTC (3 months ago)
postings
1
contact
Send private message

Stitching Photos

Use Hugin. Stitching pictures properly requires distortions (projections
due to the rotation of you lens around a vertical axis). Hugin knows how to do that, not Gimp.

I think Gimp will work better for me. I am scanning 3D slides with 2½ inch horizontal translation, no rotation, for use in VR headsets, All my stiching programs do distort the original image. Was just using Powerpoint but I lose resolution when saving

Attachments: * https://www.gimpusers.com/system/attachments/1257/original/John_Cola_Sr.jpg

bradburymars (via www.gimpusers.com/forums)