border around entire montage?
Posted: 2016-02-08T14:34:02-07:00
I have a montage that I want to put a border around. I don't want each image in the montage bordered, rather the entire finished product. I can do it in two commands, but ideally want it done in one.
then
How can I do this in one step?
Code: Select all
montage ( ( ( 1.jpg -auto-orient -geometry 408x264! ) ( border.png -auto-orient -geometry 408x264! ) -composite -quality 100 ) ( ( 2.jpg -auto-orient -geometry 408x264! ) ( border.png -auto-orient -geometry 408x264! ) -composite -quality 100 ) ( ( 3.jpg -auto-orient -geometry 408x264! ) ( border.png -auto-orient -geometry 408x264! ) -composite -quality 100 ) ( ( 1.jpg -auto-orient -geometry 408x264! ) ( border.png -auto-orient -geometry 408x264! ) -composite -quality 100 ) ( ( 2.jpg -auto-orient -geometry 408x264! ) ( border.png -auto-orient -geometry 408x264! ) -composite -quality 100 ) ( ( 3.jpg -auto-orient -geometry 408x264! ) ( border.png -auto-orient -geometry 408x264! ) -composite -quality 100 ) ( ( 1.jpg -auto-orient -geometry 408x264! ) ( border.png -auto-orient -geometry 408x264! ) -composite -quality 100 ) ( ( 2.jpg -auto-orient -geometry 408x264! ) ( border.png -auto-orient -geometry 408x264! ) -composite -quality 100 ) ) -tile 2x4 -geometry +0+0 -mode Concatenate output_montage.jpg
Code: Select all
convert output_montage.jpg -bordercolor white -border 10 finaloutput.jpg