Code: Select all
color="#0000ff"
convert -size 100x -background "$color" label:"Hello" -bordercolor "$color" -border 20x20 label.png
![Image](http://i.imgur.com/Jy5Id8X.png)
But when using a translucent background color like...
Code: Select all
color="rgba(0,0,255,0.5)"
![Image](http://i.imgur.com/mT8dkOW.png)
Adding -background none just before the -border command doesn't help.
What's the correct way to it?
(This is with ImageMagick 7.0.3-0 Q32 x86_64 2016-09-07 on Linux.)