Opened 11 years ago

Closed 9 years ago

# Graphviz output 'ugly' suggest using command chain for better output

Reported by: Owned by: Thomas Harning Peter Kropf normal GraphvizPlugin normal 0.10

### Description

I found that the SVG output of graphviz (2.8) seems broken, as well as PNG output...

A solution that I'd like to see in Trac graphviz is the usage of this command chain for output:

 dot -Tps .... |
gs -q -r360 -dNOPAUSE -sDEVICE=pnm -sOutputFile=-  - -c quit |
pnmcrop |
pnmscale 0.25 | <some conversion from pnm -> file


I use convert - %s as the end conversion, which seems to work pretty good.

I'm not positive if image maps will work entirely, since the size might be different..

### comment:2 Changed 9 years ago by Christian Boos

Resolution: → wontfix new → closed

Well, dot produces good quality PNG by itself now. I guess we can even think about removing the librsvg stuff to simplify things further, and certainly not add support for such complex command chain as suggested above. Well, at least not hard-code it.

It *might* be possible to propose some kind of generic pipeline support defined in the .ini file, but that's beyond the scope of this ticket anyway.

### Modify Ticket

Change Properties