better newline support

This commit is contained in:
Gavin McDonald
2025-09-01 15:18:11 -04:00
parent e36720c011
commit c5acb7ac33
4 changed files with 57 additions and 26 deletions

View File

@@ -87,6 +87,8 @@ defmodule LabelmakerWeb.LabelController do
defp generate_image(args) do
File.mkdir_p!(@label_dir)
# IO.inspect((["magick"] ++ args) |> Enum.join(" "))
{_, 0} = System.cmd("magick", args)
end
end