diff options
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=""; ;; |