On 8/5/07, <b class="gmail_sendername">Thomas Sibley</b> <<a href="mailto:trs@bestpractical.com">trs@bestpractical.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Yeah. Gruff (one of Ruby's nicer image-based charting libs) uses<br>ImageMagick, which seems to support drawing nice anti-aliased lines<br>unlike GD. There's an Image::Magick::Chart, but it's a bit old and only
<br>supports horizontal bars.</blockquote><div><br>After you mentioned ruby graphing ealier I looked up Gruff. It looks like every other Ruby thing. ;) It would appear that GD is also capable of anti-aliasing, but because of the way part of GD::Graph (pie charts in particular) are written Bad Stuff happens when you try to use anti-aliasing and true color graphs---I just tinkered to see what would happen. Since pie's are drawn lazily (
i.e., draw the outlines and then fill them) rather than properly drawing the slices and then adding the lines afterward, the fill floods the whole image.<br><br>I might think about this one. It could be fun. It's been a few years since I tinkered much with graphics on a lower level. Of course, as I'm typing this I'm thinking I must be crazy. As if I have the time... ;)
<br></div><br></div>