Skip to content

Instantly share code, notes, and snippets.

@jdkealy
Created February 24, 2017 17:26
Show Gist options
  • Save jdkealy/5d9be91b589b80c41ab5e4d129474666 to your computer and use it in GitHub Desktop.
Save jdkealy/5d9be91b589b80c41ab5e4d129474666 to your computer and use it in GitHub Desktop.
(defn watermark-arguments [{:keys [id] :as message}]
[(:watermark message)
(:watermark-out message)
"bfa.co/"
"-font" (str (System/getProperty "user.dir") "/resources/public/webfonts/31D41C_0_0.ttf")
"-fill" "white"
"-gravity" "west"
"-pointsize" "32"
"-font" (str (System/getProperty "user.dir") "/resources/public/webfonts/31D41C_0_0.ttf")
"-annotate" "+5+25"
(str (id message))
"-gravity" "west"
"-annotate" "+5-5"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment