Errors with Image::Magick module 
Author Message
 Errors with Image::Magick module

Hi All,

I am using a perl/cgi script to get some information about a graphic file
using PerlMagick (used with Image Magick graphics software).  I have built
PerlMagick on the server and written a perl script that uses the
Image::Magick module.  This script works perfectly in the command prompt.
However, the script I have used to run in the web page produces the
following error:

' [Fri Dec 10 15:09:25 1999] Magick.pm: [Fri Dec 10 15:09:25 1999]
DynaLoader.pm: Can't load 'e:/Program
Files/perl/site/lib/auto/Image/Magick/Magick.dll' for module Image::Magick:
load_file:The specified module could not be found at e:/Program
Files/perl/lib/DynaLoader.pm line 169. [Fri Dec 10 15:09:25 1999] Magick.pm:
[Fri Dec 10 15:09:25 1999] DynaLoader.pm: [Fri Dec 10 15:09:25 1999]
Magick.pm: [Fri Dec 10 15:09:25 1999] DynaLoader.pm: at
f:\Inetpub\wwwroot\Development\Mike\Browser\cgi-bin\choose_w02.cgi line 14
BEGIN failed--compilation aborted at
f:\Inetpub\wwwroot\Development\Mike\Browser\cgi-bin\choose_w02.cgi line 14.
'

Does anyone know why this might be?  I am using IIS4.0 on NT Server 4.0 and
i am using ActiveState Perl 5.22.  The relevant code for the web page is
shown below:

use CGI qw(:standard);
use CGI::Carp qw/fatalsToBrowser/;
use CGI;
use CGI::Pretty;
use Image::Magick;
my $image = Image::Magick->new;
my $web = new CGI;

$image->Read($file);
my ($depth, $colors, $format, $size, $type, $width, $height, $units, $x, $y,
$space) = $image->Get('depth', 'colors', 'format', 'filesize', 'type',
'width', 'height', 'units', 'x-resolution', 'y-resolution', 'colorspace');

Regards,

Mike Bickham,
Photo.Graphics



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Can't load Magick.so for module Image::Magick

2. Image Magick finding image size without loading image

3. Need help with Perl::Magick (Image::Magick)

4. Error in Image::Magick

5. Error in Image::Magick

6. Image::Magick installation error, please help

7. Module problems: PerlMagick (Image::Magick) under linux.

8. Converting images without Image::Magick

9. Image::Magick: find the last image read

10. Merging and splitting of images with Image::Magick

11. convert jpg-images to tiff format with image-magick on winnt

12. Image Magick and returning images to a web page

 

 
Powered by phpBB® Forum Software