summaryrefslogtreecommitdiff
path: root/compress.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compress.sh')
-rw-r--r--compress.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/compress.sh b/compress.sh
index 8cbe9e4..199adf8 100644
--- a/compress.sh
+++ b/compress.sh
@@ -2,5 +2,5 @@
RATIO=10
cd static/images
mkdir -p min/
-find -maxdepth 1 -name "*.jpg" -print0 | xargs -0 -I_ convert -strip -interlace Plane -quality 75% -verbose _ min/_
-find -maxdepth 1 -name "*.jpg" -print0 | sed "s,\.jpg,,g" | xargs -0 -I_ convert -strip -interlace Plane -quality 75% -verbose _.jpg min/_.webp
+find -maxdepth 1 -name "*.jpg" -print0 | xargs -0 -I_ convert -strip -resize 900 -interlace Plane -quality 75% -verbose _ min/_
+find -maxdepth 1 -name "*.jpg" -print0 | sed "s,\.jpg,,g" | xargs -0 -I_ convert -strip -resize 900 -interlace Plane -quality 75% -verbose _.jpg min/_.webp