Fix opaque square being drawn.

Reordered the fill black and roundRectangle commands in -draw of convert.
This commit is contained in:
Ceda EI 2018-03-31 14:52:23 +05:30
parent ae43636f45
commit da50f59891
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ while : ; do
# Resize, crop, draw a box for clock, write photographer's name.
convert $HOME/.rand_bg -resize "$resolution^" -crop "$resolution" \
-draw "fill black fill-opacity 0.4 roundRectangle
-draw "fill-opacity 0.4 fill black roundRectangle
$BOX_TOP_LEFT_X,$BOX_TOP_LEFT_Y $BOX_BOTTOM_RIGHT_X,$BOX_BOTTOM_RIGHT_Y
$ROUNDENESS,$ROUNDENESS" -pointsize 17 -draw "text $NAME_X,$NAME_Y
'Photograph by: $name_photographer on Unsplash'" \