Fix imgresize size expansion

This commit is contained in:
Lucas 2019-12-08 16:17:45 +00:00
parent 2934979ce4
commit 8d3ae231bb

View File

@ -40,8 +40,8 @@ if [ -z "$3" ]; then
fi
size=$1
w=${size#x*}
h=${size%*x}
w=${size%x*}
h=${size#*x}
infile=$2
outfile=$3