Skip to content

Instantly share code, notes, and snippets.

@curtis-arch
Created August 15, 2015 00:01
Show Gist options
  • Save curtis-arch/af70dcccbbb20ce61905 to your computer and use it in GitHub Desktop.
Save curtis-arch/af70dcccbbb20ce61905 to your computer and use it in GitHub Desktop.
NAME="Amici Ristorante"
ADDRESS="7620 N Milwaukee Ave, Niles, IL"
TELEPHONE="(847) 967-0606"
convert -background 'rgba(50, 50, 50, .95)' \
-bordercolor 'rgba(50, 50, 50, .95)' -border 15x15 -compose copy \
pango:"<span color=\"#fafafa\" font=\"16\"><b>$NAME</b></span>
<span color=\"#b0b0b0\">$ADDRESS - $TELEPHONE</span>" \
-background transparent -gravity south -splice 0x38 \
-fill 'rgba(50, 50, 50, .95)' -draw 'polygon 0,65 28,103 18,65' \
overlay.png
convert map.png overlay.png -gravity center -composite map_overlay.png
rm overlay.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment