Modify

Opened 18 years ago

Closed 16 years ago

#1611 closed enhancement (wontfix)

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

Reported by: Thomas Harning Owned by: Peter Kropf
Priority: normal Component: GraphvizPlugin
Severity: normal Keywords:
Cc: Trac Release: 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..

Attachments (0)

Change History (2)

comment:1 Changed 16 years ago by Christian Boos

See also #737.

comment:2 Changed 16 years ago by Christian Boos

Resolution: wontfix
Status: newclosed

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
Set your email in Preferences
Action
as closed The owner will remain Peter Kropf.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.