dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 6c54a3acff65c4e582e16bc386d430bdb43ed5cb
parent e0c16021fc3db33688ecc30eef9eb09f276bfa98
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 20 Aug 2018 20:44:15 +0200

Add sharpening and increase compression quality when using --border

Diffstat:
Mlinks/bin/upload | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/links/bin/upload b/links/bin/upload @@ -6,8 +6,12 @@ user="ad" if [ "$1" = "--border" ] || [ "$1" = "-b" ]; then uploadfile="$(mktemp)" - basename="border_$(basename "$2")" - convert "$2" -bordercolor White -border 10%x10% "$uploadfile" + #basename="border_$(basename "$2")" + basename="$(basename "$2")" + convert "$2" -bordercolor White -border 10%x10% \ + -unsharp 2x0.5+0.7+0 \ + -quality 95 \ + "$uploadfile" else uploadfile="$1" basename="$(basename "$1")"