added render script and output png

This commit is contained in:
Simon Wörner
2017-04-05 11:06:33 +02:00
committed by Manuel Vögele
parent c796ca9d43
commit c61a74947f
6 changed files with 12 additions and 0 deletions

11
V2/delay/render.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -o xtrace
SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
cd "${SCRIPT_DIR}" && gnuplot -c sleep_delay.gp
while IFS= read -r -d '' f; do
output=$(echo "$f" | sed -E 's/\.eps$/.png/')
convert -density 300 "eps2:${f}" "$output"
done < <(find "${SCRIPT_DIR}" -name '*.eps' -print0)