From ef3dcd432f46c74e3e3430c9fc4f59b85937991d Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 26 Feb 2024 09:27:45 +0300 Subject: [PATCH] generate.py: add logging of grid size --- generate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/generate.py b/generate.py index 66078ec..6b454d4 100755 --- a/generate.py +++ b/generate.py @@ -174,6 +174,7 @@ if __name__ == "__main__": # Join all thumbnails together in an array of x across with a padding of 2 # pixels between each square. joined = pyvips.Image.arrayjoin(thumbnails, across=args.across, shim=2) + logger.info(f"Generated card with a {args.across}x{args.across} grid of animals...") joined.jpegsave(args.output_file, optimize_coding=True, strip=True) logger.info(f"Wrote {args.output_file}")