diff options
author | Andreas Brachold <vdr07@deltab.de> | 2005-07-26 15:46:37 +0000 |
---|---|---|
committer | Andreas Brachold <vdr07@deltab.de> | 2005-07-26 15:46:37 +0000 |
commit | 57ff8fb8eb79adfebfaf43c884eac70e3ffb2b2c (patch) | |
tree | 5cc9452ece6fa76e3cac3f3575807a897c58f35d /scripts/maverickplugin.sh | |
parent | 8fc94579f1e868dfe1e4bb5e80c52d552bae3b0a (diff) | |
download | vdr-plugin-image-57ff8fb8eb79adfebfaf43c884eac70e3ffb2b2c.tar.gz vdr-plugin-image-57ff8fb8eb79adfebfaf43c884eac70e3ffb2b2c.tar.bz2 |
- rotate pictures now in several 90° steps
Diffstat (limited to 'scripts/maverickplugin.sh')
-rwxr-xr-x | scripts/maverickplugin.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/maverickplugin.sh b/scripts/maverickplugin.sh index 848c46e..1b41869 100755 --- a/scripts/maverickplugin.sh +++ b/scripts/maverickplugin.sh @@ -3,7 +3,8 @@ # needs : imagemagick > identify convert # # History: -# 2005-06-17 Reimplement with imagemagick, Andreas Brachold +# 2005-07-26 add commando for rotate 180 +# 2005-07-18 Reimplement with imagemagick # 2004-08-12 Initalrelease, Andreas Brachold <vdr04-at-deltab.de> # base on prior work for convert.sh # by Onno Kreuzinger <o.kreuzinger-at-kreuzinger.biz> @@ -37,7 +38,7 @@ if [ $# -lt 7 ] ; then echo "ZOOMFACTOR - Zoomfactor (0....10)" 1>&2 echo "LEFTPOS - Offset from left on Zoommode (0......)" 1>&2 echo "TOPPOS - Offset from top on Zoommode (0......)" 1>&2 - echo "FLIPCMD - optional should image flip (left,right,original)" 1>&2 + echo "FLIPCMD - optional should image flip (left,right,rotated,original)" 1>&2 exit 1 fi @@ -90,6 +91,9 @@ fi FLIP="-rotate 90"; SWAPRES=$X_RES;X_RES=$Y_RES;Y_RES=$SWAPRES ;; + rotated ) + FLIP="-rotate 180"; + ;; *) FLIP=""; ;; |