diff --git a/scripts/optimize.sh b/scripts/optimize.sh new file mode 100644 index 0000000..5e4e3d0 --- /dev/null +++ b/scripts/optimize.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +# Build to optimize images and not much else if im being honest +mkdir -p output/ +for f in "$@"; do + convert -resize 900x $f output/`basename $f` + convert -strip -quality 85 $f output/`basename $f` +done