fi
if [ "$hor" -gt 0 ]; then
width=$(($width - $hor / 2))
- rhoff=$(($hor / 2))
+ lhoff=$(($hor / 2))
elif [ "$hor" -lt 0 ]; then
width=$(($width - $hor / -2))
- lhoff=$(($hor / -2))
+ rhoff=$(($hor / -2))
fi
geom="${width}x${height}"
lcrop="${geom}+${lhoff}+${lvoff}"