From a596ede1cff7a94a11f2ae9503972cc30fb429bc Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 16 Jan 2011 19:35:20 +0100 Subject: add some nice scripts Signed-off-by: Florian Pritz --- gen-thumbs.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 gen-thumbs.sh (limited to 'gen-thumbs.sh') diff --git a/gen-thumbs.sh b/gen-thumbs.sh new file mode 100755 index 0000000..b259e1e --- /dev/null +++ b/gen-thumbs.sh @@ -0,0 +1,4 @@ +#!/bin/sh +for i in "$@"; do + convert "$i" -thumbnail 245 -gravity North -extent 245x153 -bordercolor white -border 6 -bordercolor grey60 -border 1 -background none -background black \( +clone -shadow 60x4+4+4 \) +swap -background none -flatten -depth 8 "t_$i" +done -- cgit v1.2.3-24-g4f1b