its a nt error basically a window pops up and says an aplication errors has occured where it promptly kills perl
the bottom of the window it say exception access error at some memory location
| [reply] |
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... :)
- Can you do the command directly to the ImageMagick binary (convert.exe) and make it work? If not, download and install again.
- 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//.
- 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.
| [reply] [d/l] |
thanks for all the help I figured out what the prob was, it
was an incorrect filehandle, guess what happened was I cut
pasted a snippet of someone else code and forgot about the
file handle, when I ran the code theres was an excpetion
error which basically killed perl, I figured it was the
image::magick module that was cause the prob
oh well guess a good nights sleep can do wonders for spotting
bugs | [reply] |