fix resize for ANIMATION
This commit is contained in:
parent
d39b60810b
commit
e1441a093f
1 changed files with 6 additions and 6 deletions
|
@ -259,12 +259,6 @@ convertimg() {
|
||||||
CONVERTFILE="$1"
|
CONVERTFILE="$1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$RESIZE" ]
|
|
||||||
then
|
|
||||||
RESIZE="-resize $RESIZE"
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
convert $CONVERTFILE $BORDER $RESIZE txt: | tail -n +2 | awk '{print $1 $3}' | sed -e 's/\,/ /' -e 's/\:/ /' -e 's/\#//' -e 's/^/PX /'
|
convert $CONVERTFILE $BORDER $RESIZE txt: | tail -n +2 | awk '{print $1 $3}' | sed -e 's/\,/ /' -e 's/\:/ /' -e 's/\#//' -e 's/^/PX /'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -448,6 +442,11 @@ floot() {
|
||||||
else
|
else
|
||||||
BORDER=""
|
BORDER=""
|
||||||
fi
|
fi
|
||||||
|
if [ -n "$RESIZE" ]
|
||||||
|
then
|
||||||
|
message "resizing to $RESIZE px"
|
||||||
|
RESIZE="-resize $RESIZE"
|
||||||
|
fi
|
||||||
|
|
||||||
case $FNAME in
|
case $FNAME in
|
||||||
# small stupid animation, two alternating images
|
# small stupid animation, two alternating images
|
||||||
|
@ -487,6 +486,7 @@ floot() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
|
||||||
if [ $ANIMATION ]
|
if [ $ANIMATION ]
|
||||||
then
|
then
|
||||||
checkfile $IMGFILE
|
checkfile $IMGFILE
|
||||||
|
|
Loading…
Reference in a new issue