我有以下来自弗雷德脚本的ImageMagick代码
scale=`convert xc: -format "%[fx:($ww-1)/($topwidth-1)]" info:`
我已经计算了变量$ww和$topwidth。我无法填充$scale变量