From b3fecce9408889a7cde5f5d150f68bea20e742d6 Mon Sep 17 00:00:00 2001 From: retoor Date: Wed, 11 Dec 2024 16:51:57 +0100 Subject: [PATCH] Sorted graphs. --- merge_images.py | 1 + 1 file changed, 1 insertion(+) 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: