summaryrefslogtreecommitdiffstats
path: root/make-mirror.sh
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-08-08 22:46:49 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-08-08 22:46:49 +0200
commitd2754512c34a19dad7e489b97fd80bf0bd634089 (patch)
tree263e282b4c012a09ca95c51d5513eaa5982bb355 /make-mirror.sh
parent0170ef29ce9748022bc3437e3b981dcdc60cfd9e (diff)
downloadbin-d2754512c34a19dad7e489b97fd80bf0bd634089.tar.gz
bin-d2754512c34a19dad7e489b97fd80bf0bd634089.tar.xz
add some crap
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'make-mirror.sh')
-rwxr-xr-xmake-mirror.sh13
1 files changed, 13 insertions, 0 deletions
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