summaryrefslogtreecommitdiff
path: root/compress.sh
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2016-11-17 10:16:39 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2016-11-17 10:16:39 +0100
commitcad1ff3af1c17a0cb823ff4ee09a0f7f1311ec07 (patch)
treec3e660dd64768b332ea13eb83a15473989741a2a /compress.sh
parentec43839be3a80dd6665653f3ec2b18ae552ff74e (diff)
downloadpragblog-cad1ff3af1c17a0cb823ff4ee09a0f7f1311ec07.tar.gz
pragblog-cad1ff3af1c17a0cb823ff4ee09a0f7f1311ec07.zip
add missing img, compress more
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