Initial commit

This commit is contained in:
2018-07-22 15:39:43 -07:00
commit 59570c8e75
37 changed files with 1684 additions and 0 deletions

13
bench.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
set +x
for FILE in img/bench/webp-src/*.jpg; do
OUT="${FILE%.*}.webp"
OUT2X="${FILE%.*}@2x.webp"
cwebp -mt -resize 160 0 -q 40 $FILE -o $OUT
cwebp -mt -q 40 $FILE -o $OUT2X
done
mv img/bench/webp-src/*.webp img/bench/