Reorganise scripts
This commit is contained in:
parent
5ebf7f9b5c
commit
4ae0656da4
18 changed files with 196 additions and 104 deletions
28
.config/scripts/tool/site-prep.sh
Executable file
28
.config/scripts/tool/site-prep.sh
Executable file
|
@ -0,0 +1,28 @@
|
|||
site-prep() {
|
||||
mkdir -p lg/;
|
||||
mkdir -p md/;
|
||||
mkdir -p sm/;
|
||||
|
||||
convert "$1" \
|
||||
-strip \
|
||||
-quality 85% \
|
||||
-interlace Plane \
|
||||
-resize 1800 "lg/${1%.*}.jpg"
|
||||
|
||||
convert "$1" \
|
||||
-strip \
|
||||
-interlace Plane \
|
||||
-gaussian-blur 0.05 \
|
||||
-quality 85% \
|
||||
-resize 720 "md/${1%.*}.jpg"
|
||||
|
||||
convert "$1" \
|
||||
-strip \
|
||||
-interlace Plane \
|
||||
-scale 10% \
|
||||
-blur 0x2.5 \
|
||||
-resize 1000% \
|
||||
-resize 180 "sm/${1%.*}.jpg"
|
||||
|
||||
echo "$1 is prepped"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue