Fix imgresize size expansion
This commit is contained in:
parent
2934979ce4
commit
8d3ae231bb
@ -40,8 +40,8 @@ if [ -z "$3" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
size=$1
|
size=$1
|
||||||
w=${size#x*}
|
w=${size%x*}
|
||||||
h=${size%*x}
|
h=${size#*x}
|
||||||
infile=$2
|
infile=$2
|
||||||
outfile=$3
|
outfile=$3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user