153a6ae9d5
headline
9 lines
213 B
Bash
9 lines
213 B
Bash
#!/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
|