I am trying to use the ImageMagick montage feature to combine chunks of maps from a game. My issue is that the game's original files are naturally ordered like
part1.png part2.png ... part10.png
ImageMagick reads this and will tile part10.png after part1.png. Is there a flag/option to tell IM to read the directory the way I want it to? This is a live code sample of what I'm doing.
montage \
-alpha on \
-background none \
-mode concatenate \
-tile x{$grid} \
-mattecolor none \
{$input_dir}/*.png \
{$output_file}