Search code examples
javagraphviz

Graphviz not generating gif


I have installed graphviz and trying to generate gif using java. Nothing is written to gif file. But if create a svg it works.

Could someone let me know how to do this ?

Regards


Solution

  • The issue has been fixed on the GraphViz Gitlab site: https://gitlab.com/graphviz/graphviz/-/issues/1450

    You need to install GraphViz-GD, the GraphViz plugin for renderers based on GD: yum install graphviz-gd We are using graphviz-gd-2.40.1-40.el8.x86_64.rpm on CentOs 8 without problems (so far...). You can find different versions of the RPM for example here: https://rpmfind.net/linux/rpm2html/search.php?query=graphviz-gd