website : http://www.imagemagick.org/Usage/montage/#geometry_size
imagemagick is very important
My test:
montage *.jpg -geometry 500x500+2+2 re1.jpg %%% attentionn 500x500 x means the x character in keyboard not the *. you can write the a image include four small
images.
I will use the imagemagick instead of PS for some image processing