diff --git a/merge_images.py b/merge_images.py index aba6687..d64b48e 100644 --- a/merge_images.py +++ b/merge_images.py @@ -10,6 +10,7 @@ per_image_height = 320 cols = 2 images = list(Path("./export/").glob("*.png")) +images.sort() image_count = len(images) total_image_height = image_count / cols * per_image_height if image_count / cols * per_image_height > total_image_height: