#3: Done; recipe for adding map pins for flags.

This commit is contained in:
Simon Brooke 2020-02-27 14:01:11 +00:00
parent eb354fdcda
commit e0b2a45a96
No known key found for this signature in database
GPG key ID: A7A4F18D1D4DF987
4 changed files with 25 additions and 1 deletions

Binary file not shown.

View file

@ -0,0 +1,14 @@
#!/bin/bash
# Assumes presence of ImageMajick
unzip -u flags-mini.zip
base=../basic_map_pin.png
for flag in *.png
do
cc="$(tr '[:lower:]' '[:upper:]' <<< ${flag:0:1})${flag:1:1}"
composite -compose atop -geometry +0+5 $flag $base ../${cc}-pin.png
rm $flag
done