开发者

how to use portable imagemagick in php Exec()

开发者 https://www.devze.com 2023-04-04 18:05 出处:网络
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 tes

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

精彩评论

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

关注公众号