From 5341dbdeea8c37af30ee0c1ad9469f1f1f5732ba Mon Sep 17 00:00:00 2001 From: Atlinx Date: Fri, 16 Feb 2024 16:53:24 -0500 Subject: [PATCH] Update update images python script --- src/app/settings/pictures-page-images.ts | 1628 +++++++++++----------- update_images.py | 54 +- 2 files changed, 848 insertions(+), 834 deletions(-) diff --git a/src/app/settings/pictures-page-images.ts b/src/app/settings/pictures-page-images.ts index 010cc50..8fae98a 100644 --- a/src/app/settings/pictures-page-images.ts +++ b/src/app/settings/pictures-page-images.ts @@ -5,818 +5,818 @@ export const PicturesPageImagePreviewsDir = 'assets/pictures-page-images/preview export const PicturesPageImages = [ new ImageInfo( - /* File path */ "2021/2_fall/1_first-meeting-1.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/1_first-meeting-11.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/1_first-meeting-12.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/1_first-meeting-13.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/1_first-meeting-16.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/1_first-meeting-2.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/1_first-meeting-5.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/1_first-meeting-panorama-2.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/1_first-meeting-panorama.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-10.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-17.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-18.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-19.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-20.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-2021-the-perished.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-21.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-22.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-23.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-24.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-25.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-26.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-27.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-28.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-29.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-3.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-30.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-31.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-32.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-33.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-34.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-35.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-36.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-37.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-38.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-39.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-4.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-40.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-41.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-42.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-43.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-44.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-45.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-46.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-47.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-48.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-49.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-50.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-51.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-52.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-6.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-7.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-8.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2021/2_fall/2_sgj-9.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-1.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-10.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-11.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-12.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-13.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-14.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-2.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-3.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-4.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-5.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-6.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-7.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-8.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-9.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-finale.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/1_spring/1_sgj-group-photo.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/2_fall/1_first-meeting-1.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/2_fall/1_first-meeting-2.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/2_fall/1_first-meeting-panorama.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/2_fall/2_sgj-1.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/2_fall/2_sgj-2.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/2_fall/2_sgj-3.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/2_fall/2_sgj-4.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/2_fall/2_sgj-5.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/2_fall/2_sgj-6.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/2_fall/2_sgj-7.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/2_fall/2_sgj-8.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/2_fall/2_sgj-9.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/2_fall/2_sgj-delivery.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2022/2_fall/2_sgj-group-photo.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/1_waffle-games-2.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/1_waffle-games-3.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/1_waffle-games-4.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/1_waffle-games-5.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/1_waffle-games-6.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/1_waffle-games-7.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/1_waffle-games-8.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-1.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-10.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-11.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-12.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-13.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-14.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-15.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-16.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-17.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-18.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-19.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-2.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-20.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-21.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-22.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-23.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-24.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-25.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-26.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-27.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-28.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-29.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-3.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-30.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-31.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-32.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-33.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-34.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-35.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-36.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-37.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-38.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-39.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-4.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-40.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-41.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-42.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-43.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-44.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-45.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-46.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-47.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-5.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-6.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-7.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-8.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-9.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-panorama.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/2_sgj-whisk.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/3_scarlet-classic-1.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/3_scarlet-classic-2.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/3_scarlet-classic-3.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/3_scarlet-classic-4.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/1_spring/3_scarlet-classic-5.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/1_sgj-1.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/1_sgj-2.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/1_sgj-3.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/1_sgj-4.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/1_sgj-5.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/1_sgj-6.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/1_sgj-7.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/1_sgj-everyone.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/2_fireside-1.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/2_fireside-2.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/3_final-1.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/3_final-2.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/3_final-3.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/3_final-4.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/3_final-5.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/3_final-6.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/3_final-7.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/3_final-8.png", - /* Description */ "", - /* Tags */ [], - ), - new ImageInfo( - /* File path */ "2023/2_fall/3_final-9.png", - /* Description */ "", - /* Tags */ [], - ), + /* File path */ "2021/2_fall/1_first-meeting-1.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/1_first-meeting-11.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/1_first-meeting-12.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/1_first-meeting-13.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/1_first-meeting-16.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/1_first-meeting-2.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/1_first-meeting-5.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/1_first-meeting-panorama-2.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/1_first-meeting-panorama.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-10.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-17.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-18.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-19.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-20.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-2021-the-perished.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-21.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-22.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-23.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-24.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-25.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-26.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-27.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-28.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-29.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-3.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-30.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-31.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-32.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-33.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-34.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-35.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-36.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-37.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-38.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-39.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-4.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-40.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-41.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-42.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-43.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-44.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-45.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-46.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-47.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-48.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-49.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-50.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-51.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-52.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-6.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-7.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-8.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2021/2_fall/2_sgj-9.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-1.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-10.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-11.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-12.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-13.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-14.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-2.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-3.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-4.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-5.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-6.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-7.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-8.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-9.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-finale.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/1_spring/1_sgj-group-photo.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/2_fall/1_first-meeting-1.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/2_fall/1_first-meeting-2.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/2_fall/1_first-meeting-panorama.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/2_fall/2_sgj-1.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/2_fall/2_sgj-2.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/2_fall/2_sgj-3.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/2_fall/2_sgj-4.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/2_fall/2_sgj-5.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/2_fall/2_sgj-6.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/2_fall/2_sgj-7.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/2_fall/2_sgj-8.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/2_fall/2_sgj-9.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/2_fall/2_sgj-delivery.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2022/2_fall/2_sgj-group-photo.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/1_waffle-games-2.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/1_waffle-games-3.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/1_waffle-games-4.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/1_waffle-games-5.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/1_waffle-games-6.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/1_waffle-games-7.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/1_waffle-games-8.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-1.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-10.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-11.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-12.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-13.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-14.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-15.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-16.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-17.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-18.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-19.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-2.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-20.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-21.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-22.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-23.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-24.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-25.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-26.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-27.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-28.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-29.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-3.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-30.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-31.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-32.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-33.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-34.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-35.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-36.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-37.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-38.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-39.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-4.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-40.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-41.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-42.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-43.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-44.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-45.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-46.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-47.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-5.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-6.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-7.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-8.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-9.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-panorama.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/2_sgj-whisk.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/3_scarlet-classic-1.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/3_scarlet-classic-2.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/3_scarlet-classic-3.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/3_scarlet-classic-4.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/1_spring/3_scarlet-classic-5.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/1_sgj-1.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/1_sgj-2.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/1_sgj-3.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/1_sgj-4.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/1_sgj-5.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/1_sgj-6.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/1_sgj-7.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/1_sgj-everyone.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/2_fireside-1.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/2_fireside-2.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/3_final-1.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/3_final-2.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/3_final-3.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/3_final-4.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/3_final-5.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/3_final-6.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/3_final-7.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/3_final-8.png", + /* Description */ "", + /* Tags */ [], + ), + new ImageInfo( + /* File path */ "2023/2_fall/3_final-9.png", + /* Description */ "", + /* Tags */ [], + ), ]; diff --git a/update_images.py b/update_images.py index e6bebcf..641785a 100755 --- a/update_images.py +++ b/update_images.py @@ -33,10 +33,10 @@ def to_typescript_string(self) -> str: # Remove the extra comma and space if we have just one tag tags_str = tags_str[0:-2] return """ new ImageInfo( - /* File path */ "{file_path}", - /* Description */ "{description}", - /* Tags */ [{tags}], - ), + /* File path */ "{file_path}", + /* Description */ "{description}", + /* Tags */ [{tags}], + ), """.format(file_path=self.file_path, description=self.description, tags=tags_str) def parse_existing_image_infos(text: str) -> List[ImageInfo]: @@ -52,9 +52,9 @@ def parse_existing_image_infos(text: str) -> List[ImageInfo]: tags.append(matched_tag) image_infos.append(ImageInfo(file_path=matched_image_info[0], description=matched_image_info[1], tags=tags)) return image_infos - -# Returns a dictionary of parsed ImageInfo objects from text, with + +# Returns a dictionary of parsed ImageInfo objects from text, with # key = image path # value = ImageInfo object def parse_existing_image_infos_into_dict(text: str) -> Dict[str, ImageInfo]: @@ -71,7 +71,7 @@ def get_extension(filePath: str) -> str: # Returns filePath without any extension. def get_base_name(filePath: str) -> str: stringList = filePath.split('.') - if len(stringList) > 1: + if len(stringList) > 1: # Remove last element from list stringList.pop(-1); return ''.join(stringList) @@ -153,32 +153,46 @@ def update_preview_dir_structure(): update_preview_dir_structure() +MAX_DIM = 1080; + for path in tqdm(image_paths, desc="Processing images"): - image = None + image = Image.open(path) extension = get_extension(path) - + # Convert file to png if it is not. - if extension != "png" and extension.lower() in IMAGE_FILE_EXTENSIONS: - if image is None: - image = Image.open(path) + + is_extension_different = extension != "png" and extension.lower() in IMAGE_FILE_EXTENSIONS + is_image_dim_different = image.width > MAX_DIM or image.height > MAX_DIM + if is_image_dim_different or is_extension_different: new_path = get_base_name(path) + ".png"; + if image.width > MAX_DIM and image.height > MAX_DIM: + if image.width > image.height: + # Keep width the largest + image = image.resize((MAX_DIM, int(image.height / image.width * MAX_DIM))) + else: + # Keep height the largest + image = image.resize((int(image.width / image.height * MAX_DIM), MAX_DIM)) + elif image.width > MAX_DIM: + image = image.resize((MAX_DIM, int(image.height / image.width * MAX_DIM))) + elif image.height > MAX_DIM: + image = image.resize((int(image.width / image.height * MAX_DIM), MAX_DIM)) image.save(new_path) image.close() - # Delete old file - os.remove(path) + if is_extension_different: + # Delete old file + os.remove(path) path = new_path image = Image.open(path) - - + + # Generate preview if it does not exist preview_path = get_base_name(path).replace(PICTURES_PAGE_IMAGES_DIR, PICTURES_PAGE_IMAGES_DIR + "previews/") + ".png" if not os.path.isfile(preview_path): - if image is None: - image = Image.open(path) image = sqaure_crop(image) image.thumbnail((200, 200), Image.LANCZOS) image.save(preview_path) - image.close() + + image.close() # Use existing ImageInfo if it exists # Note that images that are removed but still have ImageInfo's will not be included, @@ -226,4 +240,4 @@ def update_preview_dir_structure(): typescript_file.close() time_taken = time.perf_counter() - start_time -print("Done in {time} s".format(time=time_taken)) \ No newline at end of file +print("Done in {time} s".format(time=time_taken))