text outlines

This commit is contained in:
Gavin McDonald
2025-05-06 15:39:48 -04:00
parent 2d5dbd4140
commit 92f469c982
4 changed files with 23 additions and 1 deletions

View File

@@ -43,6 +43,18 @@ defmodule LabelmakerWeb.LabelController do
filepath
]
args =
if options.outline != "none" do
[
"-stroke",
options.outline,
"-strokewidth",
"1"
] ++ args
else
args
end
{_, 0} = System.cmd("magick", args)
end
end