From f3b7fee6592150c5b746d1b05dfbda4951f1f15a Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 5 May 2024 17:58:56 +0200 Subject: adjust thumbnail generation to be mostly height-limited --- bin/pyggle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/pyggle b/bin/pyggle index 64315dc..dbaeb52 100755 --- a/bin/pyggle +++ b/bin/pyggle @@ -278,7 +278,7 @@ class Thumbnail: self.thumbname += ".jpg" im = rotate_image(im, self.exif_tag) - im.thumbnail((self.size * 2, self.size * 2)) + im.thumbnail((self.size * 4, self.size * 2)) im = im.convert("RGB") im.save(self.thumbname, "JPEG") @@ -609,7 +609,7 @@ if __name__ == "__main__": action="store_true", help="Scrub EXIF metadata from images (IN-PLACE EDIT)", ) - parser.add_argument("--size", type=int, default=250, help="Thumbnail size [px]") + parser.add_argument("--size", type=int, default=250, help="Thumbnail height [px]") parser.add_argument( "--sort", metavar="MODE", -- cgit v1.2.3