To join three images to one, putting them below each other, use
montage -tile 1x3 stripe1.jpg -geometry +0,+0 stripe2.jpg -geometry +0,0 stripe3.jpg out.jpg
.
I had this problem with an image extracted from a PDF file using
pdfimages
. The image seems to have been cut into three
stripes by the PDF encoder.