Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
works fine from my command line so am confused as to why it doesn't work when using exec. I have successfully executed a cp command from the script ok so exec is working If I run the PHP script with the exec command in it from the command line using:
Its probably a path problem and comes up a lot - comand knows where IM is but php does not.
I can not remember the fix; you could search the users and developers sections and see if you can find an answer. The answer may depend if you are on a shared server or one of your own.
If you are on a windows server you need to change the ' to " I do this anyway.
May be of help:
Set PATH environment variable in the PHP or tell your administartors that the PHP command path is not set right for IM and GS. If the web server has the right path PHP usally inherits it and then it can find things properly!
root@ds6580:~# type mogrify
mogrify is /usr/local/bin/mogrify
It seems that the imagemagick commands using the system and exec call are not working.. Getting "type convert" within a PHP script to work will probably get it all to work me thinks..