diff options
author | Florian Pritz <bluewind@xssn.at> | 2011-01-16 19:35:20 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2011-01-16 19:35:20 +0100 |
commit | a596ede1cff7a94a11f2ae9503972cc30fb429bc (patch) | |
tree | 293d598c090537bca8d785a28187063b0c545e34 /gen-thumbs.sh | |
parent | 6605810da359b36f22ae3ee3f0a4ffa9eb1aa33d (diff) | |
download | bin-a596ede1cff7a94a11f2ae9503972cc30fb429bc.tar.gz bin-a596ede1cff7a94a11f2ae9503972cc30fb429bc.tar.xz |
add some nice scripts
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'gen-thumbs.sh')
-rwxr-xr-x | gen-thumbs.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |