How can I draw text with different stroke and fill colors on images with python?
Here is some text with red stroke and gray fill.
You can use Inkscape:
import subprocess subprocess.call("inkscape in.svg --export-text-to-path --export-plain-svg out.svg", shell = True)
note: you have to download Inkscape to use this, so not practical for permanent use