empty image placeholder

This commit is contained in:
2023-06-07 12:42:11 +03:00
parent ee4f9fa236
commit 9e1438433f
2 changed files with 6 additions and 1 deletions

View File

@@ -206,6 +206,10 @@ def generate_main(char: dict):
return True return True
# Save the resulting image # Save the resulting image
# generate_main(DNDB_CHARS[0])
# empty image placeholder to show donations underneath
empty_image = Image.new("RGBA", (100, 100), (0, 0, 0, 0))
empty_image.save("results/transparent.png")
for char in DNDB_CHARS: for char in DNDB_CHARS:
generate_main(char) generate_main(char)

View File

@@ -27,6 +27,7 @@ tpl_slideshow = """
% for char in chars_list: % for char in chars_list:
'/results/{{char}}-{{scene}}.png', '/results/{{char}}-{{scene}}.png',
% end % end
'/results/transparent.png'
]; ];
// get the img element from the HTML // get the img element from the HTML