Dear All,
I am new to this group. I have used Image::Magick based modules to do
several task related to my work.
Below is the first few lines of perl scrip that I have success fully coded
for one of my project. It was perfect on my RedHat machine.
#!/usr/bin/perl
use Image::Magick;
use GD;
use GD::Text;

my $ima = Image::Magick -> new;
$ima -> set(size=>'680 x 450');
$ima->ReadImage('xc:white');
$infile = shift;

#Text Details

#Y - Axiz/
$ima -> Draw (stroke=>'black', primitive=>'line', strokewidth=>'2',
points=>"50,420 50,10");
$yl = 500;
for($y=380;$y>=20;$y-=40)
       {
       $ima -> Draw (stroke=>'red', primitive=>'line', strokewidth=>'3',
points=>"46,$y 54,$y");
       $yp = $y - 13;
       $ima->Annotate(text=>"$yl",x=>'-320', y=>"$yp",font=>'Generic.ttf',
fill=>'black',gravity=>'North',pointsize=>14);
       $yl += 500;
       }
#X - Axiz -
$xl = 100;
.... ....

Recently I moved to a CentOS based machine and I installed ImageMagick-6.3.2/
. But now my program is not working,
its showing some strange error message.

perl /home/httpd/cgi-bin/mini/databases/harmony/graph-prp-g.plCan't load
'/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/Image/Magick/Magick.so'
for module Image::Magick: libMagick.so.10: cannot open shared object file:
No such file or directory at
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm line 230.
at /home/httpd/cgi-bin/mini/databases/harmony/graph-prp-g.pl line 6
Compilation failed in require at
/home/httpd/cgi-bin/mini/databases/harmony/graph-prp-g.pl line 6.
BEGIN failed--compilation aborted at
/home/httpd/cgi-bin/mini/databases/harmony/graph-prp-g.pl line 6.

Please help me to sort this issue,
Thanks in advance...
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to