Skip Menu |

This queue is for tickets about the GDGraph CPAN distribution.

Maintainer(s)' notes

There are plenty of good ideas of what people can do published here on the queue. Turning a patch from the tracker into a pull request is not one of them. In order to get maintainers' attention way more quickier, PR should have at least a sample included. We know it's hard to test images generating software, but it doesn't mean we can not test numbers produced by intermediate algorithms used to generate these images, so either a test or a sample.

Report information
The Basics
Id: 7881
Status: resolved
Worked: 30 min
Priority: 0/
Queue: GDGraph

People
Owner: bwarfield [...] cpan.org
Requestors: stromp [...] enertel.nl
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.43
Fixed in: 1.4307



Subject: Won't create non interlaced png
I'm trying to create a graph in png. I use the following code: $day_graph->set( x_label => "Tijd", y_label => "RTT", title => "Nice Graph", x_label_skip => 24, y_max_value => $max_y, bgclr => "white", dclrs => ["green"], transparent => 0, interlaced => 0, long_ticks => 1 ); But although I set the interlaced to 0 (also tried false), it won't create the .png non-interlaced. My output is exactly the same. I'm using the versions of the following libs: libgd-2.0.15 libpng-1.0.15 my system is: Linux localhost.localdomain 2.4.22-1.2197.nptl #1 Thu Jul 1 15:14:28 EDT 2004 i686 i686 i386 GNU/Linux and my perl version is: v5.8.3
It appears that currently, this option must be set to undef (rather than merely 0) to get a non- interlaced PNG out of GD. (And apparently it simply isn't possible to get out an interlaced GIF any more, which should probably be documented somewhere.) An appropriate fix will be included in the next release, along with updated documentation if I'm right about the GIF issue.