9a2c6abec7
Copy icc_profile from source image.
2023-03-19 11:21:33 -07:00
5e54bb4536
Call rotate_by_exif before taking image dimensions.
2022-12-23 19:54:09 -08:00
5ffbf30a52
Use pil lanczos.
2022-08-03 18:48:08 -07:00
8616cdc5dd
Use new betterhelp.
2022-02-12 19:50:00 -08:00
49c23ef4a9
Check for known extensions after formatting instead of before.
...
Also add {filename} format variable.
2022-01-16 15:40:18 -08:00
d82733c8d5
Big rewrite of resize.py.
2022-01-09 21:50:47 -08:00
c8e5a53bcb
Let resize take --destination.
2021-11-14 22:00:45 -08:00
15141d22cb
Use getexif instead of info.get('exif'). Add --quality where missing.
2021-11-09 12:08:38 -08:00
ede169c729
Update resize.py helptext, alphabetize arguments.
2021-11-09 00:00:35 -08:00
c5829081aa
Update use of pathclass.glob_files, directories.
2021-11-08 11:38:10 -08:00
4a9051e617
Big migrations and linting.
...
With pathclass.glob_many, we can clean up and feel more confident
about many programs that use pipeable to take glob patterns.
Added return 0 to all programs that didn't have it, so we have
consistent and explicit command line return values.
Other linting and whitespace.
2021-09-23 23:42:45 -07:00
4ba9d9dabe
Switch pipeable.output to pipeable.stdout.
2021-09-22 20:26:53 -07:00
39e0aaed71
Various lint appeasements.
2021-08-09 17:37:19 -07:00
74bd773f33
Add docstring to resize.py.
2021-08-01 16:21:27 -07:00
e68da4a1f6
Rename variables new_x, new_y -> new_w, new_h.
2021-08-01 16:21:04 -07:00
5ce6cf8425
Migrate scripts to vlogging.main_decorator.
2021-06-21 22:11:19 -07:00
0de20a34c9
Use qualified PIL.Image, not just Image.
2021-06-04 13:13:11 -07:00
c01a7c9d9d
Update some image scripts to preserve exif.
2021-06-03 20:43:27 -07:00
eae98ec161
Add --quality arg to resize.py.
2021-03-13 20:32:43 -08:00
4a61cb08e2
Use pathclass in resize.py.
2021-03-03 12:39:39 -08:00
51188b30ee
Remove redundant argparse dest=, fix some lint issues.
2021-02-20 21:01:55 -08:00
5b051c6f2a
Add argument --only-shrink.
2020-10-23 07:48:31 -07:00
6e9c334a9d
Alphabetize arguments.
2020-10-23 07:48:13 -07:00
cb84584202
Add --inplace argument to overwrite input file.
2020-07-07 22:09:48 -07:00
51617f6ea5
Use argparse for resize.py.
2020-06-30 20:27:35 -07:00
d9a98a7e27
Use voussoirkit.imagetools for fit_into_bounds function.
2020-02-04 19:34:39 -08:00
2d5ef0c7cf
Replace these uses of glob with winglob.
2020-01-15 22:47:26 -08:00
f44e46aab5
Initial commit.
2019-06-11 22:41:31 -07:00