diff options
Diffstat (limited to 'make-mirror.sh')
-rwxr-xr-x | make-mirror.sh | 13 |
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 |