How to combine multiple pairs of images into single images?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Chintan
Posts: 1
Joined: 2017-07-11T05:47:51-07:00
Authentication code: 1151

How to combine multiple pairs of images into single images?

Post by Chintan »

I have a set of images that I flipped horizontally using rawtherapee image processing program

Now I want to combine the original and the flipped image into a single image.

The number of original images and hence the number of flipped are 814 each.

How can I combine them together using bash? I was referred from the rawtherapee forum to use bash - I already have it installed but my experience with bash is nearly 0 at this point

I was able to get this code running

montage *.jpg -tile 0x -quality 100 -geometry +0+0 image.jpg

But getting it to work on the whole sequence is the issue
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How to combine multiple pairs of images into single images?

Post by fmw42 »

Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.

See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at viewtopic.php?f=1&t=9620

For novices, see

viewtopic.php?f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/

Please clarify. Do you want the output to be one pair side-by-side per montaged image? Or do you want the montage to have all pairs side-by-side, one pair per row? Do you have enough memory to hold all 814 x 2 images in memory and double that for the input and output when the images are decompressed. So the important thing is what is the WxH dimensions?
Post Reply