Batch combine pairs of images

XnConvert Multi Platform - Windows, MacOSX, Linux
cmwkings33
Posts: 1
Joined: Thu Sep 09, 2021 7:07 pm

Batch combine pairs of images

Post by cmwkings33 »

Hello All and hope everything is well.

I hope I'm posting this in the right forum so here goes. I would like to combine two images size by size from a specified folder or a list of files. Is this possible? I can't seem to find the command to do this.

An example would be having a folder with say 40 images each having corresponding filenames with a different number sequence. Is there a way to multi-select them all and how the program output 20 files with the 40 images combined separately into 20 images, or even have the options of combining 4 images in one file?

Another way of saying this would be batch merging images side by side. Thanks in advance for any assistance and sorry if this has been asked and answered previously.
cday
XnThusiast
Posts: 3063
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Batch Image Combining

Post by cday »

cmwkings33 wrote: Thu Sep 09, 2021 7:16 pm I would like to combine two images side by side from a specified folder or a list of files. Is this possible? I can't seem to find a command to do this.

An example would be having a folder with say 40 images each having corresponding filenames with a different number sequence. Is there a way to multi-select them all and how the program output 20 files with the 40 images combined separately into 20 images, or even have the options of combining 4 images in one file?

Another way of saying this would be batch merging images side by side. Thanks in advance for any assistance and sorry if this has been asked and answered previously.
There is no support for that in XnConvert as far as I know, however XnView MP in the file browser has Create > Join images... which provides that function, although only for pairs of images at a time.

If the command line utility NConvert supports the function, I'm not sure that it currently does, and you have experience of creating batch files, automated processing of a folder of images might well be possible with some fairly basic coding.

If NConvert doesn't currently support the function, which I think is likely, there could be a possible workaround using the canvas resize and watermark functions. If the files are numbered in a suitable sequence it might not be too difficult.