aboutsummaryrefslogtreecommitdiff
path: root/src/genTestImgs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/genTestImgs.sh')
-rwxr-xr-xsrc/genTestImgs.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/genTestImgs.sh b/src/genTestImgs.sh
deleted file mode 100755
index 21b001b..0000000
--- a/src/genTestImgs.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-set -e
-
-#generate tol.json from tol.txt
-cat tolData.txt | ./txtTreeToJSON.py > tolData.json
-
-#reads through tolData.json, gets names, and generates image for each name
-cat tolData.json | \
- gawk 'match ($0, /"name"\s*:\s*"([^"]*)"/, arr) {print arr[1]}' | \
- while read; do
- convert -size 200x200 xc:khaki +repage \
- -size 150x150 -fill black -background None \
- -font Ubuntu-Mono -gravity center caption:"$REPLY" +repage \
- -gravity Center -composite -strip ../public/img/"$REPLY".png
- done
-