Resize and crop images to fill their grid cells before tiling
magick montage path/to/image1.jpg path/to/image2.jpg ... -geometry +0+0 -resize 640x480^ -gravity center -crop 640x480+0+0 path/to/montage.jpg