IM_CMD6=(convert - -write mpr:img${p} -fx A +matte \ -blur 0x$( printf "%.2f" $(bc_math "7 + .${CURVE_ARRAY[p]/.}") ) \ -shade $(bc_math "115 + ${CURVE_ARRAY[p]}")x30 -normalize mpr:img${p} \ -compose Overlay -composite mpr:img${p} -matte -compose Dst_In -composite) # when this gets evaluated todisc: line 2917: printf: 6.9: invalid number