This little tool generates a collage which perserves the aspect ratios of all input images and fits them into the desired output image resolution. This program is based on the work of Wu et al.[1]. A few adjustments have been made to gain better and more reliable results, but computation takes longer.
For help and all options:
python collage_generator.py -h
Run example:
python collage_generator.py ./example --output example_collage.png --width 4096 --height 2048