Using multiple -draw decoration
Posted: 2019-08-16T08:59:40-07:00
On this site there is an example of using decoration UnderLine: https://www.imagemagick.org/Usage/text/#draw
lists four existing options:
What I do at the moment is:
but I consider this a hacky work-around since I actually have two texts here that just happen to be on the same position..
So is there a way to use UnderLine and OverLine together without using a second text?
Code: Select all
convert -list decoration
So now I would like to use OverLine and UnderLine together on the same text.LineThrough
None
Overline
Underline
What I do at the moment is:
Code: Select all
convert -size 1276x1642 xc:white \
-draw "font Arial font-size 72 decorate OverLine \
fill dodgerblue stroke dodgerblue stroke-width 1 \
translate 10,110 rotate -15 text 0,0 ' TEXT ' \
font Arial font-size 72 decorate UnderLine \
text 0,0 ' TEXT '" \
output.jpg
So is there a way to use UnderLine and OverLine together without using a second text?