Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Image::Magick on Windows!

by jeffpflueger (Beadle)
on Nov 28, 2003 at 23:09 UTC ( [id://310802]=note: print w/replies, xml ) Need Help??


in reply to Re: Image::Magick on Windows!
in thread Image::Magick on Windows!

And now....the module is installed, but the following code generates errors:

#!c:/perl -w use strict; use Image::Magick; my $image = new Image::Magick; my $x = $image->Read("nettie.tif"); warn "$x" if "$x"; $x = $image->Scale(width=>"200", height=>"200"); warn "$x" if "$x"; $x = $image->Write("nettienew.tif"); warn "$x" if "$x";


Here are the errors:
Exception 420: NoDecodeDelegateForThisImageFormat (nettie.tif) at c:/image.pl line 8.

Anybody have a suggestion about what might be happening?

Replies are listed 'Best First'.
Re: Re: Re: Image::Magick on Windows!
by jeffpflueger (Beadle) on Nov 29, 2003 at 23:42 UTC
    Problem Solved! Image::Magick now running on windows 2000! the problem seems to be synching the different builds of ActiveState Perl, ImageMagick and the PerlMagick module. I had to find an appropriate build of ActiveState Perl, and make sure that the Image::Magic module was the one that the version of ImageMagick I was installing matched. The best way to do the later was to use the version of ImageMagick that downloads the perl module stuff it requires at installation. Here's is how I finally got something to work:

    1) Install Active State Perl 5.8.0 build 806 available HERE
    builds 804 and 807 did not work.

    2) Install the nifty ImageMagick installer-type set-up that provides the Install Perl Magick module option. (ImageMagick-i686-pc-windows.exe)
    Available HERE

    Make sure that
    a) you check the box to install the perl magick stuff
    b) you have your machine connected to the internet. The installer will then install ImageMagick and a command prompt window will then pop-up as the Perl Magick stuff is downloaded from the internet.

    You should then be ready to go.

    Thank you for all of your help!
      Just a Note on the above the file ImageMagick-i686-pc-windows.exe seems to have moved to Here

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://310802]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-19 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found