mirror of https://github.com/Flinner/dots.git
feat(bin): compress images
This commit is contained in:
parent
f0a4dd630f
commit
dd81582a70
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "compresing $1"
|
||||
echo "to compress-$1"
|
||||
|
||||
convert "$1"\
|
||||
-sampling-factor 4:2:0 \
|
||||
-strip \
|
||||
-quality 85 \
|
||||
-interlace Plane \
|
||||
-gaussian-blur 0.05 \
|
||||
-colorspace RGB \
|
||||
"compressed-$1"
|
||||
|
Loading…
Reference in New Issue