In my experience, ImageMagick works very well on NT, but it has some quirks, especially when using it in perl. So, while you might have other options, here are some questions that may or may not help you... :)
  1. Can you do the command directly to the ImageMagick binary (convert.exe) and make it work? If not, download and install again.
  2. Are you using the perl module Image::Magick? Don't. In my experience, it works horribly, if at all, at least in a Windows environment. Try completing step one, then use system calls instead or qx//.
  3. Are you using complete paths? ImageMagick is pretty picky about this, I seem t recall - both complete path to the binary itself and the images to operate on is (or was) needed, I think.

All in all, IM is a pretty good tool for scripting image conversions and stuff, and it can do most things you need, so maybe you want to give it another shot. On the other hand, I'm sure there are lots of as good or better alternatives... just haven't used them myself. :)

I also realize that this is a pretty non-perl answer, and that it is even maybe a bad answer considering you wanted to learn more perl, but one single tool is seldom enough, you need a good solid toolbox with compatible tools to do some real work. :)


You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.

In reply to Re: Re: Re: trying to learn more perl by Dog and Pony
in thread Trying to learn how to do thumbnails in perl by wageslave

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.