From cbff71a4b6a7a7c3fb86c3e72aa7e22c8913d5e6 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Fri, 7 Jan 2022 22:45:43 -0800 Subject: [PATCH] Add makethumbs.bat. --- voussoir.net/writing/makethumbs.bat | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 voussoir.net/writing/makethumbs.bat diff --git a/voussoir.net/writing/makethumbs.bat b/voussoir.net/writing/makethumbs.bat new file mode 100644 index 0000000..356ce83 --- /dev/null +++ b/voussoir.net/writing/makethumbs.bat @@ -0,0 +1,6 @@ +rem A width of 905 makes the image occupy the entire horizontal width of the +rem article, at least with the current font settings. +md thumbs +resize *.jpg 905 0 --only-shrink --destination thumbs --inplace --quality 50 +resize *.png 905 0 --only-shrink --destination thumbs --inplace --quality 50 +optipng thumbs\*.png