From d2754512c34a19dad7e489b97fd80bf0bd634089 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 8 Aug 2010 22:46:49 +0200 Subject: add some crap Signed-off-by: Florian Pritz --- make-mirror.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 make-mirror.sh (limited to 'make-mirror.sh') diff --git a/make-mirror.sh b/make-mirror.sh new file mode 100755 index 0000000..cf8e314 --- /dev/null +++ b/make-mirror.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +infile=$1 +outfile=$2 +width=200 +height=32 +alpha=30 + +convert -size ${width}x${height} xc:none \ +\( \( -flip $infile -crop ${width}x${height}+0+0 \) \ + -size ${width}x${height} gradient: -evaluate Pow 1.4 \ + -compose Copy_Opacity -composite \) \ +-compose blend -set "option:compose:args" $alpha -composite $outfile -- cgit v1.2.3-24-g4f1b