I'm trying to use the GraphViz tools to generate some dependency graphs but I'm having zero luck getting dot to export images. SVG works fine, but anything else (jpeg, gif, png) cause dot to crash.
Here's my graph:
digraph test {
main -> parse -> execute;
main -> init;
main -> cleanup;
execute -> make_string;
execute -> printf
init -> make_string;
main -> printf;
execute -> compare;
}
Here's the command-line that works (for svg):
dot test.dot -Tsvg -o test.svg
Here are the command lines that cause a crash:
dot test.dot -Tjpg -o test.jpg
dot test.dot -Tjpeg -o test.jpeg
dot test.dot -Tpng -o test.png
Am I missing something obvious?
Thanks,
(Note this is on WinXP 32-bit using the 2.24 graphviz package).