Add makethumbs.bat.

This commit is contained in:
voussoir 2022-01-07 22:45:43 -08:00
parent 1486c482b6
commit cbff71a4b6
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -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