alignment
This commit is contained in:
@@ -51,11 +51,11 @@ defmodule LabelmakerWeb.LabelController do
|
||||
]
|
||||
end
|
||||
|
||||
defp size_settings(args, %{gravity: gravity, height: height, width: width} = options) do
|
||||
defp size_settings(args, %{align: align, height: height, width: width} = options) do
|
||||
args ++
|
||||
[
|
||||
"-gravity",
|
||||
gravity,
|
||||
align,
|
||||
"-size",
|
||||
"#{width}x#{height}",
|
||||
"caption:#{String.slice(options.label, 0, Constants.max_label_length())}"
|
||||
|
||||
Reference in New Issue
Block a user