Fix imgresize size expansion
This commit is contained in:
parent
2934979ce4
commit
8d3ae231bb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue