diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-05-05 17:58:56 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-05-05 17:58:56 +0200 |
commit | f3b7fee6592150c5b746d1b05dfbda4951f1f15a (patch) | |
tree | 72e67fe507f064d3b5f836e695680c3c485b4b81 /bin | |
parent | f565b1a847ac0874a06cddede551fb01aa031036 (diff) |
adjust thumbnail generation to be mostly height-limited
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pyggle | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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", |