Rob, Thanks!

I changed my version of ActiveState perl from 5.8 to 5.6 and I am no longer
getting the error.  Thank you!  

Next question.. :-) 

I'm using the ImageMagick demo file to see how IM works, but nothing seems
to be happening.  The script is finishing fine, but the image file is not
being created.

Any suggestion?

Thanks,

Brian 

#!/usr/bin/perl -w
use strict;
use Image::Magick;

my $image = Image::Magick->new(magick=>'JPEG');

my $x = $image->Read('H:/bvolk/My Pictures/Sylvania/L10119.gif');

$x = $image->Set(magick => 'JPG');
$x = $image->Write('C:/perl/bin/output/brian.jpg');

exit(); 

-----Original Message-----
From: Hanson, Rob [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 12:39 PM
To: Brian Volk; Beginners (E-mail)
Subject: RE: Image::Magic / Perl::Magick 


Maybe this will help... maybe it won't.

I just tried installing Image::Magick (on Win2K/AS perl 5.6.1 build 635),
and had no issues.  The install showed that it installed Magick.dll, and
where it was installed to.  Note that I used "Image-Magick", which is how AS
has it stored in the repository.

[session follows]
H:\>ppm install Image-Magick
Installing package 'Image-Magick'...
Downloading
http://ppm.ActiveState.com/PPMPackages/5.6plus/MSWin32-x86-multi-thr
ead/Image-Magick.tar.gz ...
Installing C:\perl2\site\lib\auto\Image\Magick\Magick.bs
Installing C:\perl2\site\lib\auto\Image\Magick\Magick.dll
Installing C:\perl2\site\lib\auto\Image\Magick\Magick.exp
Installing C:\perl2\site\lib\auto\Image\Magick\Magick.lib
Installing C:\perl2\html\site\lib\Image\Magick.html
Installing C:\perl2\site\lib\Image\Magick.pm
Installing C:\perl2\site\lib\auto\Image\Magick\autosplit.ix

The I queried it using the "query" command...

H:\>ppm query Image-Magick
Image-Magick [0]

Also tried using the module (which should load the DLL you mentioned) with
no problems.

H:\>perl -e "use Image::Magick"

Rob



-----Original Message-----
From: Brian Volk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 12:48 PM
To: Beginners (E-mail)
Subject: Image::Magic / Perl::Magick 


I've asked this question on the ImageMagick bugs mailing list...w/ no reply.
If anyone has any suggestion, I would greatly appreciate it.  
I have both ImageMagick and PerlMagick installed. I can view pictures fine
w/ ImageMagick,  I just can't use the Image::Magick module...  Do I have the
modules installed correctly?  I let the ImageMagick software install them.
I checked ppm> but I didn't see them installed.  Was I doing something
wrong?  ppm> search Image::Magick ...ppm returned no match.  Same w/
PerlMagick.  
Is there another way to check the ppm?
----------------------------------------------------------------------------
----- 
C:\Program Files\ImageMagick-6.0.5-Q16\PerlMagick\demo>perl shapes.pl 
Can't load 'C:/Perl/site/lib/auto/Image/Magick/Magick.dll' for module
Image::Mag 
ick: load_file:One of the library files needed to run this application
cannot be 
found at C:/Perl/lib/DynaLoader.pm line 229. 
at shapes.pl line 4 
Compilation failed in require at shapes.pl line 4. 
BEGIN failed--compilation aborted at shapes.pl line 4. 
----------------------------------------------------------------------------
----- 

Thanks in advance! 

Brian 
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to