I am having trouble using image magick on a free bsd box, the code below works
fine on redhat but gets the following error message using bsd
/libexec/ld-elf.so.1:
/usr/local/lib/perl5/site_perl/5.8.3/i386-freebsd/auto/Image/Magick/Magick.so:
Undefined symbol "AcquireMagickMemory"
Can anybody give some direction on how to fix this thanks.
#!/usr/bin/perl -w
use CGI qw(:all);
use Image::Magick::Thumbnail;
# Load your source image
$src = new Image::Magick;
$src->Read("ideloveto1.jpg");
# Create the thumbnail from it, where the biggest side is 200 px
($thumb,$x,$y) = Image::Magick::Thumbnail::create($src,200);
# Save your thumbnail
$thumb->Write("th$filename");
--
Regards
David Inglis
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>