Skip to content

Instantly share code, notes, and snippets.

@lijiang2087
Forked from ivorytowerdds/emoji
Created May 28, 2020 22:04
Show Gist options
  • Save lijiang2087/611caea313d6e355a0c91ca77a1c8e1e to your computer and use it in GitHub Desktop.
Save lijiang2087/611caea313d6e355a0c91ca77a1c8e1e to your computer and use it in GitHub Desktop.
harmony-emoji-3ppl
#!/bin/bash -x
[ -x `which convert` ] || { brew install imagemagick; }
convert \
<(curl -s `curl -sL https://emojipedia.org/$1 | awk -F'[" ]' '$0 ~ /240.apple/ {print $6}'`) \
<(curl -s `curl -sL https://emojipedia.org/$2 | awk -F'[" ]' '$0 ~ /240.apple/ {print $6}'`) \
+append \
'(' \
<(curl -s `curl -sL https://emojipedia.org/$4 | awk -F'[" ]' '$0 ~ /240.apple/ {print $6}'`) \
+append ')' \
-background none -extent x100% \
-append $5.png
open $5.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment