Fix opaque square being drawn.
Reordered the fill black and roundRectangle commands in -draw of convert.
This commit is contained in:
parent
ae43636f45
commit
da50f59891
|
@ -17,7 +17,7 @@ while : ; do
|
||||||
|
|
||||||
# Resize, crop, draw a box for clock, write photographer's name.
|
# Resize, crop, draw a box for clock, write photographer's name.
|
||||||
convert $HOME/.rand_bg -resize "$resolution^" -crop "$resolution" \
|
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
|
$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
|
$ROUNDENESS,$ROUNDENESS" -pointsize 17 -draw "text $NAME_X,$NAME_Y
|
||||||
'Photograph by: $name_photographer on Unsplash'" \
|
'Photograph by: $name_photographer on Unsplash'" \
|
||||||
|
|
Loading…
Reference in New Issue