Hi Aaron,

By default the convert command in windows is actually a tool to convert NTFS -> FAT filesystems. You have to do some magic to make imagemagic convert function run, see http://savage.net.au/ImageMagick/html/install-convert.html

I have found the registry fix with the 'doskey' command works best.

-Stig

Aaron Cooper wrote:
Howdy all,
 
I'm trying to throw together a small image resizing app that will always run on a local WAMP installation for personal use. (Windows XP Pro).
 
I have just installed ImageMagick on the machine to test image processing using the CLI as I have found that using GD through PHP is a bit slow.
 
I have this simple command:
convert "C:\IMAGES\Holding\*.JPG" -resize 600 "C:\Image\file1.jpg"
 
Works fine when run from cmd. But when I try to run it in exec or shell_exec, nothing.
 
Does anyone have any ideas what this would be or know of a way to get some sort of debugging info for what might be going on?
 
Cheers
Aaron
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to