Join direction
Vertical mode places each complete image beneath the preceding image; horizontal mode places each one beside the preceding image. When vertical inputs have equal widths, the output keeps that width and adds their heights. When horizontal inputs have equal heights, it keeps that height and adds their widths. This is end-to-end concatenation, not content-aware panorama stitching.