commit c472ca9cab166aefe9545535597d1b95888fb34b
parent 4adcbcd04e15d880a30cab12e37a91fc09c183f6
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 31 Dec 2018 08:52:50 +0100
Fix resize command
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/links/bin/upload b/links/bin/upload
@@ -18,7 +18,7 @@ elif [ "$1" = "--resize-border" ] || [ "$1" = "-rb" ]; then
#basename="border_$(basename "$2")"
basename="$(basename "$2")"
convert "$2" \
- -resize 1000x1000\> \ # fit to 1000x1000 box, do not enlarge
+ -resize 1000x1000\> \
-bordercolor White -border 10%x10% \
-unsharp 2x0.5+0.7+0 \
-quality 95 \