The following program works fine on my Windows system.
use Image::Magick;
$image = Image::Magick->new;
$image->Set(size=>'100x100');
$err = $image->ReadImage('canvas:white');
print "err=$err\n";
On my Linux/CentOS machine it produces:
err=Exception 435: unable to open image `canvas:white': No such file or directory
perl -v
This is perl, v5.8.8 built for x86_64-linux-thread-multi
ImageMagic/PerlMagic were installed with yum and I have already tried reinstalling.
Here are the versions:
ImageMagick.x86_64 6.2.8.0-4.el5_5.3 installed
ImageMagick-c++.x86_64 6.2.8.0-4.el5_5.3 installed
ImageMagick-c++-devel.x86_64 6.2.8.0-4.el5_5.3 installed
ImageMagick-devel.x86_64 6.2.8.0-4.el5_5.3 installed
ImageMagick-perl.x86_64 6.2.8.0-4.el5_5.3 installed
How can I resolve this problem? Any suggestions as to how I can approach a
more detailed diagnosis would be most welcome.
Help with major (installation) problem...
Re: Help with major (installation) problem...
On older versions of ImageMagick, use xc:white rather than canvas:white.
Re: Help with major (installation) problem...
Thank you kind sir!