diff options
| author | yo mama <pepper@scannerjammer.com> | 2016-08-23 15:03:36 -0700 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2016-08-23 15:03:36 -0700 |
| commit | 66acdc91221cecb8bd3c00787ab0ec71402a1621 (patch) | |
| tree | b7ba932c4eb3ba4a55ff80b3142eb52763d3871c /bin | |
| parent | 944e5c21adecd2b57af76d76854f4acfabf74402 (diff) | |
fixed grid script
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 |
