Skip Menu |

This queue is for tickets about the Chart-Gnuplot CPAN distribution.

Report information
The Basics
Id: 82526
Status: new
Priority: 0/
Queue: Chart-Gnuplot

People
Owner: Nobody in particular
Requestors: CDRAKE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.17
Fixed in: (no value)



Subject: Should "use Image::Magick;" instead of shelling out to `convert` (symptom="Invalid Parameter - 90")
The Gnuplot.pm file has:- sub convert { ... } which defines this at the way to invoke ImageMagick (which, of course, only works on Linux):- my $convert = 'convert'; ... my $cmd = "$convert $temp $temp".".$imgfmt 2>&1"; my $err = `$cmd`; The native perl module for Image::Magick would be a better way to call it. The symptom of the above is that Chart::Gnuplot says this on windows platforms:- Invalid Parameter - 90 rather than producing any output. (the workaround for windows users, is to set the 'output' parameter to a .ps file - which skips the ImageMagick conversion completely.)