Hello All,
I'm having trouble using Apache::ImageMagick. Here is the error I'm
getting.
Can't locate Image/Magick.pm in @INC (@INC contains: C:\PROGRAM
FILES\PERLEDIT
C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/site/lib/Apache/ImageMagick.pm
line 25.
----------------------------------------------
line 25 = use Image::Magick ();
---------------------------------------------
BEGIN failed--compilation aborted at C:/Perl/site/lib/Apache/ImageMagick.pm
line 25.
Compilation failed in require at C:/Program
Files/PerlEdit/scripts/images_convert.pl line 3.
BEGIN failed--compilation aborted at C:/Program
Files/PerlEdit/scripts/images_convert.pl line 3.
Here is the script I'm using...
#!/usr/bin/perl -w
use strict;
use Apache::ImageMagick;
my $image = Image::Magick->new();
my $x = $image->Read('H:/bvolk/My Pictures/Sylvania/L10119.gif');
$x = $image->Set(magick => 'JPG');
$x = $image->Write('test.jpg');
exit();
Thanks for any help!
Brian
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>