#!/bin/bash mogrify -resize 60% -brightness-contrast 30 *.PNG montage *PNG -tile 2x2 -geometry 1000 output.pdf convert output.pdf -page A4 output.pdf