Please help me.. My host company do not agree to install imagemagick 开发者_开发百科on server so I have downloaded portable imagemagick version which does not require installation. I would like to test this portable version through php exec() command line.. how to do?
<?php
$magickpath = "c:/ImageMagick";
$env_path = $magickpath."/convert";
exec("$env_path k:\galstand.jpg k:\galstand.png");
?>
the above method does not works.
Have you looked at the ImageMagick: Command-line Tools documentation? You can also use their PHP API.
精彩评论