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.)