if ! [ -d "/Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel" ]; then mkdir "/Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel"; fi;
convert -gravity South -background white -splice 0x$1 -gravity North -background white -splice 0x$1 -gravity West -background white -splice $1x0 -gravity East -background white -splice $1x0 /Volumes/Work/Bilder/w_Work/Passbilder/gerlinde-passfoto-1.jpg /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/gerlinde-passfoto-1.jpg
convert -gravity South -background white -splice 0x$1 -gravity North -background white -splice 0x$1 -gravity West -background white -splice $1x0 -gravity East -background white -splice $1x0 /Volumes/Work/Bilder/w_Work/Passbilder/gerlinde-passfoto-2.jpg /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/gerlinde-passfoto-2.jpg
convert -gravity South -background white -splice 0x$1 -gravity North -background white -splice 0x$1 -gravity West -background white -splice $1x0 -gravity East -background white -splice $1x0 /Volumes/Work/Bilder/w_Work/Passbilder/gerlinde-passfoto-3.jpg /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/gerlinde-passfoto-3.jpg
convert -gravity South -background white -splice 0x$1 -gravity North -background white -splice 0x$1 -gravity West -background white -splice $1x0 -gravity East -background white -splice $1x0 /Volumes/Work/Bilder/w_Work/Passbilder/gerlinde-passfoto-4.jpg /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/gerlinde-passfoto-4.jpg
convert -gravity South -background white -splice 0x$1 -gravity North -background white -splice 0x$1 -gravity West -background white -splice $1x0 -gravity East -background white -splice $1x0 /Volumes/Work/Bilder/w_Work/Passbilder/hans-passfoto-1.jpg /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/hans-passfoto-1.jpg
convert -gravity South -background white -splice 0x$1 -gravity North -background white -splice 0x$1 -gravity West -background white -splice $1x0 -gravity East -background white -splice $1x0 /Volumes/Work/Bilder/w_Work/Passbilder/hans-passfoto-2.jpg /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/hans-passfoto-2.jpg
convert -gravity South -background white -splice 0x$1 -gravity North -background white -splice 0x$1 -gravity West -background white -splice $1x0 -gravity East -background white -splice $1x0 /Volumes/Work/Bilder/w_Work/Passbilder/hans-passfoto-3.jpg /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/hans-passfoto-3.jpg
convert -gravity South -background white -splice 0x$1 -gravity North -background white -splice 0x$1 -gravity West -background white -splice $1x0 -gravity East -background white -splice $1x0 /Volumes/Work/Bilder/w_Work/Passbilder/hans-passfoto-4.jpg /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/hans-passfoto-4.jpg
convert \( /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/gerlinde-passfoto-1.jpg /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/gerlinde-passfoto-2.jpg  /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/hans-passfoto-1.jpg /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/hans-passfoto-2.jpg +append  \) \( /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/gerlinde-passfoto-3.jpg /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/gerlinde-passfoto-4.jpg  /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/hans-passfoto-3.jpg /Volumes/Work/Bilder/w_Work/Passbilder/Rand_$1_pixel/hans-passfoto-3.jpg +append \) -append /Volumes/Work/Bilder/w_Work/Passbilder/passbilder-Rand_$1_pixel.jpg