From 2c55f7ee03192e0becee6812c750fdbd176bad83 Mon Sep 17 00:00:00 2001 From: Satya Syahputra <46707024+satyasyahputra@users.noreply.github.com> Date: Thu, 19 Jan 2023 18:14:24 +0700 Subject: [PATCH] Add label on normalize arguments --- lib/mogrify.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/mogrify.ex b/lib/mogrify.ex index 8e1e1d7..4c409c9 100644 --- a/lib/mogrify.ex +++ b/lib/mogrify.ex @@ -193,6 +193,7 @@ defmodule Mogrify do do: ["-annotate"] ++ String.split(params, " ", parts: 2) defp normalize_arguments({"histogram:" <> option, nil}), do: ["histogram:#{option}"] + defp normalize_arguments({"label", params}), do: ["label:#{params}"] defp normalize_arguments({"pango", params}), do: ["pango:#{params}"] defp normalize_arguments({"stdout", params}), do: ["#{params}"] defp normalize_arguments({"plasma", params}), do: ["plasma:#{params}"]