Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001398graphvizDotpublic2008-09-07 04:432011-04-28 04:03
ReporterFred Spiessens 
Assigned Togviz 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-OSX-10.5.4OS Version
Summary0001398: dot -Tjpg renders extremely bad quality and colors (on Mac OSX 10.5)
Description



dot -Tjpg renders extremely bad quality and colors



note that dot -Tps, -Teps, -Tsvg, and -Tpdf all seem to work perfect.






thanks, your work is much appreciated.
Fred.
Steps To Reproduce

digraph G{
1 [label="read" color=white fontcolor="red" ]
2 [label="write" color=white fontcolor="green" ]
3 [label="access" color=black fontcolor="black" ]
1->2->3
}
Additional Information

History-
Everything worked OK in dot 2.18 after John (and Glenn?) fixed bug 1367
(by adding PEN_DOTTED and PEN_DASHED style to the Quartz renderer).

Relevance-
I use dot -Tjpg to generate jpg files and show them in the GUI of my tool.

[ellson] If you run "dot -Tjpg:" (i.e. with a trailing ':' ) you should get a list of alternate jpg renderers. The first one is the default
that you are using. Is it "jpg:quartz:quartz" ?

Could you do the following please? Assuming your test graph is called foo.gv, run:
<CD>
   dot -v -Tjpg foo.gv >foo.jpg 2>foo.err
</CD>
and send me both foo.jpg and foo.err.

As a work around, you can try any of the alternatives (if there are any?). If you have it, try:
<CD>
   dot -Tjpg:cairo
</CD>

Generally, jpg is not a particularly good format for line drawings because of its lossy compression. It tends to blur lines and fonts.
Usually png is a better choice.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1434
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.20.2
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user1


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker