summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-05-05 17:58:56 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-05-05 17:58:56 +0200
commitf3b7fee6592150c5b746d1b05dfbda4951f1f15a (patch)
tree72e67fe507f064d3b5f836e695680c3c485b4b81 /bin
parentf565b1a847ac0874a06cddede551fb01aa031036 (diff)
adjust thumbnail generation to be mostly height-limited
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pyggle4
1 files changed, 2 insertions, 2 deletions
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",