diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/grid | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -237,5 +237,10 @@ if [ $xinc -le $width ] fi # process image -convert $tmpA -fill none -stroke $color -strokewidth $thickness -draw "stroke-opacity $opacity path '$drawstr'" $outfile +opacity_setting="stroke-opacity $opacity" +if [ "$opacity" -eq 1 ]; then + opacity_setting=""; + +fi +convert $tmpA -fill none -stroke $color -strokewidth $thickness -draw "$opacity_setting path '$drawstr'" $outfile exit 0 |
