I downloaded ImageMagick-6.0.1-Q16-windows-dll.exe and installed it. I selected PerlMagick for activeperl while installing it. My script to copy an image is
#!/usr/local/bin/perl use Image::Magick; my($image, $x); $image = Image::Magick->new; $x = $image->Read('D:/d/FirewallRespTimebyDay.xls.0.PNG'); warn "$x" if "$x"; $x = $image->Crop(geometry=>'100x100"+100"+100'); warn "$x" if "$x"; $x = $image->Write('C:/Graph.xls.01.08.2004.PNG'); warn "$x" if "$x";
when I executed it, I got a pop up message saying
The procedure entry point LevelImageChannel could not be located in th +e dynamic link library CORE_RL_magick.dll
I also got an error in the command prompt saying
Can't load 'C:/Perl/site/lib/auto/Image/Magick/Magick.dll' for module +Image::Magick: load_file:The specified procedure could not be found a +t C:/Perl/lib/DynaLoader.pm line 229. at D:\image.pl line 2 Compilati +on failed in require at D:\image.pl line 2. BEGIN failed--compilation + aborted at D:\image.pl line 2.
How do I solve this?

Thanks & Regards

Nalina

In reply to Problem with Image::Magick by Nalina

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.