开发者

how to use portable imagemagick in php Exec()

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜