chore: sort image file list before processing to ensure deterministic output order
This commit is contained in:
parent
2fe5da7ef4
commit
dbff983329
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user