+ Image optimizer script
headline
This commit is contained in:
parent
770b81795e
commit
153a6ae9d5
8
scripts/optimize.sh
Normal file
8
scripts/optimize.sh
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user