Charts on Bugzilla

Daniel Berlin dberlin at dberlin.org
Fri May 9 04:03:15 UTC 2003


On Thursday, May 8, 2003, at 06:17  PM, Gervase Markham wrote:

> Daniel Berlin wrote:
>> You probably have a version of libgd that supports png but not gif, 
>> and Chart 0.99 supports gif but not png.
>
> That's not true; I get excellent PNGs on reports.cgi with 0.99.
>
That's simply impossible, sorry.

Please look at the readme to Chart past 1.0, and you'll see:
0.99c-pre3 - 1.0:
         Fixed _draw_data in Lines.pm: lines are limited to the frame
         Added f_x_tick, f_y_tick
         Added jpeg(), cgi_jpeg() to produce the format jpeg
         Delete GIF support, added PNG and JPEG instead


Prior to somewhere in between these versions, there was no PNG support.
Try grepping for png in 0.99, 0.99a, 0.99b, and you'll see it's nowhere 
in the sources.
0.99 (and 0.99a and 0.99b) can't output PNG.

You don't really have 0.99 if you are getting PNG's, or you aren't 
getting PNGs.




More information about the developers mailing list