Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (7 sloc) 162 Bytes
#!/bin/sh
IN="$1"
OUT="`basename "$1" .dot`.png"
dot -Tps -o dot2png.tmp.$$.ps "$IN"
ps2png dot2png.tmp.$$.ps
rm dot2png.tmp.$$.ps
mv dot2png.tmp.$$.png "$OUT"