I have multiple images distributed along different directories.
Each folder has different number of headers and side panels. For this reason, the workaround is to execute montage function from imagemagick software with specific arguments for each temporal composed image.
Here a simple example:
cd /home/archy && montage figure1/*.png -tile 2x -geometry +1+1 figure1.png
cd /home/archy && montage figure2/*.png -tile 1x -geometry +1+1 figure2.png
See that first temporal image is a composition of two columns of images. On the other hand, the second temporal image is a composition of one column of images. Finally, I need a final image composed by this two temporal images previously created.
cd /home/archy && montage *.png -tile 1x -geometry +1+1 total.png
In the real situation, I have to create a big amount of temporal images to only create the final one. It would be great to avoid this workaround to save calculus time and system storage.
Is it posible to combine this three commands to an unique one? Thanks